feat: Change name of Preferences > Filters > Tabs and move them to Account Preferences(#3536) (#4115)
# Overview In the previous code, when you open preferences, there is a section headed "Filters" with a section called "Tabs" This is confusing. # Changes - Change the section title from "Filters" to "Per-timeline preferences." - Change the current "Tabs" section to "Home timeline" since it is only for home timelines # Screenshots account preference screen | detail screen :--: | :--: |<image src="https://github.com/tuskyapp/Tusky/assets/62137820/12694f24-b7e3-4ba3-90f5-53740e9c4269" width="250" />|<image src="https://github.com/tuskyapp/Tusky/assets/62137820/796e9ac1-76d6-43ef-a087-a1cd2d899ef8" width="250" /> # Note - Maybe string resources should have a new property? (for translation) # Related link Fixes #3536 --------- Co-authored-by: mcc <andi.m.mcclure@gmail.com>
This commit is contained in:
parent
966ba38dbe
commit
e8e7bad110
12 changed files with 59 additions and 22 deletions
|
|
@ -146,6 +146,13 @@ class TuskyApplication : Application(), HasAndroidInjector {
|
|||
editor.putString(APP_THEME, AppTheme.NIGHT.value)
|
||||
}
|
||||
}
|
||||
|
||||
if (oldVersion < 2023112001) {
|
||||
editor.remove(PrefKeys.TAB_FILTER_HOME_REPLIES)
|
||||
editor.remove(PrefKeys.TAB_FILTER_HOME_BOOSTS)
|
||||
editor.remove(PrefKeys.TAB_SHOW_HOME_SELF_BOOSTS)
|
||||
}
|
||||
|
||||
editor.putInt(PrefKeys.SCHEMA_VERSION, newVersion)
|
||||
editor.apply()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue