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
pull/600/head
Shane Synan 4 years ago committed by GitHub
parent cafcdcb1ac
commit 45cd74ee5e

@ -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)

Loading…
Cancel
Save