mirror of
https://github.com/wrwrabbit/Partisan-Telegram-Android.git
synced 2026-05-23 04:25:06 +00:00
change saved channels icon in settings
This commit is contained in:
parent
16e6345f52
commit
d70574a76d
2 changed files with 12 additions and 1 deletions
|
|
@ -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));
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue