renaming a delete confirmation skipping related view
This commit is contained in:
parent
59d6749ce6
commit
3d31290c6b
|
@ -208,10 +208,10 @@ class SettingsActivity : SimpleActivity() {
|
|||
}
|
||||
|
||||
private fun setupDeleteConfirmation() {
|
||||
settings_delete_confirmation.isChecked = config.skipDeleteConfirmation
|
||||
settings_delete_confirmation_holder.setOnClickListener {
|
||||
settings_delete_confirmation.toggle()
|
||||
config.skipDeleteConfirmation = settings_delete_confirmation.isChecked
|
||||
settings_skip_delete_confirmation.isChecked = config.skipDeleteConfirmation
|
||||
settings_skip_delete_confirmation_holder.setOnClickListener {
|
||||
settings_skip_delete_confirmation.toggle()
|
||||
config.skipDeleteConfirmation = settings_skip_delete_confirmation.isChecked
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -240,7 +240,7 @@
|
|||
</RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/settings_delete_confirmation_holder"
|
||||
android:id="@+id/settings_skip_delete_confirmation_holder"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/medium_margin"
|
||||
|
@ -251,7 +251,7 @@
|
|||
android:paddingBottom="@dimen/activity_margin">
|
||||
|
||||
<com.simplemobiletools.commons.views.MySwitchCompat
|
||||
android:id="@+id/settings_delete_confirmation"
|
||||
android:id="@+id/settings_skip_delete_confirmation"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@null"
|
||||
|
|
Loading…
Reference in New Issue