Fix minor issues with Tasks.org account screen

pull/1276/head
Alex Baker 5 years ago
parent 8e4ac77dd6
commit 9dfdeaa582

@ -138,7 +138,7 @@ class TasksAccount : InjectingPreferenceFragment() {
(findPreference(R.string.sign_in_with_google) as IconPreference).apply { (findPreference(R.string.sign_in_with_google) as IconPreference).apply {
if (account.error.isNullOrBlank()) { if (account.error.isNullOrBlank()) {
isVisible = false isVisible = false
return return@apply
} }
isVisible = true isVisible = true
when { when {

@ -15,6 +15,7 @@
<Preference <Preference
android:key="@string/upgrade_to_pro" android:key="@string/upgrade_to_pro"
android:title="@string/upgrade_to_pro" android:title="@string/upgrade_to_pro"
android:summary=" "
app:allowDividerAbove="true" app:allowDividerAbove="true"
app:icon="@drawable/ic_outline_attach_money_24px" /> app:icon="@drawable/ic_outline_attach_money_24px" />
@ -29,7 +30,8 @@
<PreferenceCategory <PreferenceCategory
android:key="@string/migrate" android:key="@string/migrate"
android:title="@string/migrate"> android:title="@string/migrate"
app:isPreferenceVisible="false">
<Preference <Preference
android:key="@string/offline_lists" android:key="@string/offline_lists"

Loading…
Cancel
Save