For #14642: Use correct 'Close tabs' summary text (#14644)

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 #14642
pull/58/head
Shane Synan 4 years ago committed by GitHub
parent abfc91519a
commit 2231fe2d52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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