mirror of
https://github.com/SimpleMobileTools/Simple-File-Manager.git
synced 2025-06-05 22:09:15 +02:00
renaming a delete confirmation skipping related view
This commit is contained in:
@ -208,10 +208,10 @@ class SettingsActivity : SimpleActivity() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun setupDeleteConfirmation() {
|
private fun setupDeleteConfirmation() {
|
||||||
settings_delete_confirmation.isChecked = config.skipDeleteConfirmation
|
settings_skip_delete_confirmation.isChecked = config.skipDeleteConfirmation
|
||||||
settings_delete_confirmation_holder.setOnClickListener {
|
settings_skip_delete_confirmation_holder.setOnClickListener {
|
||||||
settings_delete_confirmation.toggle()
|
settings_skip_delete_confirmation.toggle()
|
||||||
config.skipDeleteConfirmation = settings_delete_confirmation.isChecked
|
config.skipDeleteConfirmation = settings_skip_delete_confirmation.isChecked
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -240,7 +240,7 @@
|
|||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
|
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
android:id="@+id/settings_delete_confirmation_holder"
|
android:id="@+id/settings_skip_delete_confirmation_holder"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="@dimen/medium_margin"
|
android:layout_marginTop="@dimen/medium_margin"
|
||||||
@ -251,7 +251,7 @@
|
|||||||
android:paddingBottom="@dimen/activity_margin">
|
android:paddingBottom="@dimen/activity_margin">
|
||||||
|
|
||||||
<com.simplemobiletools.commons.views.MySwitchCompat
|
<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_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:background="@null"
|
android:background="@null"
|
||||||
|
Reference in New Issue
Block a user