2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-19 09:25:34 +00:00
For "closeTabsAfterOneMonth", use the correct summary string of
"close_tabs_after_one_month" instead of "close_tabs_after_one_week".

This fixes the Settings page "Close tabs" summary showing the wrong
tab duration when "Close tabs" is set to "After one month".

Closes https://github.com/mozilla-mobile/fenix/issues/14642
This commit is contained in:
Shane Synan 2020-09-02 22:07:27 -04:00 committed by GitHub
parent cafcdcb1ac
commit 45cd74ee5e

View File

@ -368,7 +368,7 @@ class Settings(private val appContext: Context) : PreferencesHolder {
appContext.getString(R.string.close_tabs_after_one_week)
}
closeTabsAfterOneMonth -> {
appContext.getString(R.string.close_tabs_after_one_week)
appContext.getString(R.string.close_tabs_after_one_month)
}
else -> {
appContext.getString(R.string.close_tabs_manually)