Merge branch 'main' into 236-android-action-buttons
This commit is contained in:
commit
104d4222ba
2 changed files with 2 additions and 1 deletions
|
@ -282,6 +282,7 @@ class DetailSettingsActivity : AppCompatActivity() {
|
|||
val pref: EditTextPreference? = findPreference(prefId)
|
||||
pref?.isVisible = true // Hack: Show all settings at once, because subscription is loaded asynchronously
|
||||
pref?.text = subscription.displayName
|
||||
pref?.dialogMessage = getString(R.string.detail_settings_appearance_display_name_message, topicShortUrl(subscription.baseUrl, subscription.topic))
|
||||
pref?.preferenceDataStore = object : PreferenceDataStore() {
|
||||
override fun putString(key: String?, value: String?) {
|
||||
val displayName: String? = if (value == "") {
|
||||
|
|
|
@ -354,7 +354,7 @@
|
|||
<string name="detail_settings_appearance_icon_remove_summary">Icon displayed in notifications for this topic</string>
|
||||
<string name="detail_settings_appearance_icon_error_saving">Unable to save icon: %1$s</string>
|
||||
<string name="detail_settings_appearance_display_name_title">Display name</string>
|
||||
<string name="detail_settings_appearance_display_name_message">Set a custom display name for this subscription. Leave empty for default.</string>
|
||||
<string name="detail_settings_appearance_display_name_message">Set a custom display name for this subscription. Leave blank for default (%1$s).</string>
|
||||
<string name="detail_settings_appearance_display_name_default_summary">%1$s (default)</string>
|
||||
<string name="detail_settings_global_setting_title">Use global setting</string>
|
||||
<string name="detail_settings_global_setting_suffix">using global setting</string>
|
||||
|
|
Loading…
Reference in a new issue