change saved channels icon in settings

This commit is contained in:
vivabelarus 2026-04-09 18:29:07 +03:00
parent 16e6345f52
commit d70574a76d
No known key found for this signature in database
GPG key ID: 16D72E146372F381
2 changed files with 12 additions and 1 deletions

View file

@ -757,7 +757,7 @@ public class SettingsActivity extends BaseFragment implements NotificationCenter
}
if (org.telegram.messenger.partisan.Utils.needShowSavedChannels()
&& org.telegram.messenger.partisan.ui.SavedChannelsSettings.showInSettings.getOrDefault()) {
items.add(SettingCell.Factory.of(50, 0xFFEFA612, 0xFFE77512, R.drawable.settings_stars, getString(R.string.SavedChannels), null));
items.add(SettingCell.Factory.of(50, IconBackgroundColors.GREEN.top, IconBackgroundColors.GREEN.bottom, R.drawable.settings_saved_channels_star, getString(R.string.SavedChannels), null));
}
items.add(UItem.asShadow(null));
}

View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="24dp"
android:height="24dp"
android:viewportWidth="72"
android:viewportHeight="72">
<path
android:fillColor="#FFFFFF"
android:pathData="M36,9 L42.47,27.1 L61.68,27.66 L46.46,39.4 L51.87,57.84 L36,47 L20.13,57.84 L25.54,39.4 L10.32,27.66 L29.53,27.1 Z" />
</vector>