Fix minor issues with Tasks.org account screen

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

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

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

Loading…
Cancel
Save