From 4c043bcdc905f79916df303f2522959d14ad38ae Mon Sep 17 00:00:00 2001 From: Konrad Pozniak Date: Mon, 17 Aug 2020 21:21:03 +0200 Subject: [PATCH] add icon for tabs preference (#1892) --- .../fragment/preference/AccountPreferencesFragment.kt | 1 + app/src/main/res/drawable/ic_tabs.xml | 8 ++++++++ 2 files changed, 9 insertions(+) create mode 100644 app/src/main/res/drawable/ic_tabs.xml diff --git a/app/src/main/java/com/keylesspalace/tusky/fragment/preference/AccountPreferencesFragment.kt b/app/src/main/java/com/keylesspalace/tusky/fragment/preference/AccountPreferencesFragment.kt index 07e8089b..fa128a40 100644 --- a/app/src/main/java/com/keylesspalace/tusky/fragment/preference/AccountPreferencesFragment.kt +++ b/app/src/main/java/com/keylesspalace/tusky/fragment/preference/AccountPreferencesFragment.kt @@ -72,6 +72,7 @@ class AccountPreferencesFragment : PreferenceFragmentCompat(), Injectable { preference { setTitle(R.string.title_tab_preferences) + icon = getTintedIcon(R.drawable.ic_tabs) setOnPreferenceClickListener { val intent = Intent(context, TabPreferenceActivity::class.java) activity?.startActivity(intent) diff --git a/app/src/main/res/drawable/ic_tabs.xml b/app/src/main/res/drawable/ic_tabs.xml new file mode 100644 index 00000000..3de93e6e --- /dev/null +++ b/app/src/main/res/drawable/ic_tabs.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file