From 15df5c4df7577fda442aa760c0ff7d63595c50e6 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 9fa6a6e54..fa673057d 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 @@ -71,6 +71,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 000000000..3de93e6e7 --- /dev/null +++ b/app/src/main/res/drawable/ic_tabs.xml @@ -0,0 +1,8 @@ + + + + \ No newline at end of file