Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -851,5 +851,6 @@ You only need to do this once, until the next time you select a new location for
<string name="trash_bin_retention_bytes_summary">Maximum data (in MBs) trash bin can store</string>
<string name="trash_bin_cleanup_interval_title">Cleanup interval</string>
<string name="trash_bin_cleanup_interval_summary">Trigger auto-cleanup interval (hours)</string>
<string name="file_deletion">File Deletion</string>
</resources>

27 changes: 12 additions & 15 deletions app/src/main/res/xml/behavior_prefs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,20 +23,6 @@
app:key="texteditor_newstack"
app:summary="@string/preference_newstack_summary"
app:title="@string/preference_newstack_title" />
<com.amaze.filemanager.ui.views.preference.CheckBox
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:defaultValue="true"
app:key="delete_confirmation"
app:summary="@string/preference_delete_confirmation_summary"
app:title="@string/preference_delete_confirmation" />
<com.amaze.filemanager.ui.views.preference.CheckBox
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:defaultValue="false"
app:key="delete_permanently_without_confirmation"
app:summary="@string/preference_delete_permanently_without_confirmation_summary"
app:title="@string/preference_delete_permanently_without_confirmation" />
<Preference
android:layout_width="wrap_content"
android:layout_height="wrap_content"
Expand All @@ -55,7 +41,7 @@
app:key="extractpath"
app:summary="@string/archive_summary"
app:title="@string/archive_extract_folder"></Preference>
<PreferenceCategory android:title="@string/trash_bin">
<PreferenceCategory android:title="@string/file_deletion">
<Preference
android:layout_width="wrap_content"
android:layout_height="wrap_content"
Expand All @@ -80,6 +66,17 @@
app:key="cleanup_interval"
app:summary="@string/trash_bin_cleanup_interval_summary"
app:title="@string/trash_bin_cleanup_interval_title"></Preference>
<com.amaze.filemanager.ui.views.preference.CheckBox
app:defaultValue="true"
app:key="delete_confirmation"
app:summary="@string/preference_delete_confirmation_summary"
app:title="@string/preference_delete_confirmation" />

<com.amaze.filemanager.ui.views.preference.CheckBox
app:defaultValue="false"
app:key="delete_permanently_without_confirmation"
app:summary="@string/preference_delete_permanently_without_confirmation_summary"
app:title="@string/preference_delete_permanently_without_confirmation" />
</PreferenceCategory>
<PreferenceCategory android:title="@string/advanced_search">

Expand Down
Loading