File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
kotlin/org/fossify/clock/activities Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -111,6 +111,7 @@ class SettingsActivity : SimpleActivity() {
111111 binding.settingsGeneralSettingsLabel,
112112 binding.settingsAlarmTabLabel,
113113 binding.settingsTimerTabLabel,
114+ binding.settingsMigratingLabel
114115 ).forEach {
115116 it.setTextColor(getProperPrimaryColor())
116117 }
@@ -338,7 +339,7 @@ class SettingsActivity : SimpleActivity() {
338339 ExportDataDialog (this , config.lastDataExportPath) { file ->
339340 try {
340341 exportActivityResultLauncher.launch(file.name)
341- } catch (@Suppress(" SwallowedException" ) e : ActivityNotFoundException ) {
342+ } catch (@Suppress(" SwallowedException" ) _ : ActivityNotFoundException ) {
342343 toast(
343344 id = org.fossify.commons.R .string.system_service_disabled,
344345 length = Toast .LENGTH_LONG
@@ -352,7 +353,7 @@ class SettingsActivity : SimpleActivity() {
352353 private fun tryImportData () {
353354 try {
354355 importActivityResultLauncher.launch(IMPORT_BACKUP_MIME_TYPES .toTypedArray())
355- } catch (@Suppress(" SwallowedException" ) e : ActivityNotFoundException ) {
356+ } catch (@Suppress(" SwallowedException" ) _ : ActivityNotFoundException ) {
356357 toast(org.fossify.commons.R .string.system_service_disabled, Toast .LENGTH_LONG )
357358 } catch (e: Exception ) {
358359 showErrorToast(e)
Original file line number Diff line number Diff line change 331331 </RelativeLayout >
332332
333333 <include
334- android : id =" @+id/settings_timer_tab_divider "
334+ android : id =" @+id/settings_migrating_divider "
335335 layout =" @layout/divider" />
336336
337337 <TextView
338- android : id =" @+id/settings_export_and_import "
338+ android : id =" @+id/settings_migrating_label "
339339 style =" @style/SettingsSectionLabelStyle"
340340 android : layout_width =" match_parent"
341341 android : layout_height =" wrap_content"
342342 android : text =" @string/migrating" />
343343
344-
345344 <RelativeLayout
346345 android : id =" @+id/settings_export_data_holder"
347346 style =" @style/SettingsHolderTextViewOneLinerStyle"
You can’t perform that action at this time.
0 commit comments