Allow deleting DETACH operations

pull/213/head
M66B 1 year ago
parent d7c0db513b
commit 8c49c38c61

@ -123,6 +123,7 @@ public class FragmentDialogOperationsDelete extends FragmentDialogBase {
addAll(ops, db.operation().getOperations(EntityOperation.DELETE)); addAll(ops, db.operation().getOperations(EntityOperation.DELETE));
addAll(ops, db.operation().getOperations(EntityOperation.PURGE)); addAll(ops, db.operation().getOperations(EntityOperation.PURGE));
addAll(ops, db.operation().getOperations(EntityOperation.EXPUNGE)); addAll(ops, db.operation().getOperations(EntityOperation.EXPUNGE));
addAll(ops, db.operation().getOperations(EntityOperation.DETACH));
} }
for (EntityOperation op : ops) { for (EntityOperation op : ops) {

@ -118,7 +118,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="48dp" android:layout_marginStart="48dp"
android:fontFamily="monospace" android:fontFamily="monospace"
android:text="DELETE, PURGE, EXPUNGE" android:text="DELETE, PURGE, EXPUNGE, DETACH"
android:textAppearance="@style/TextAppearance.AppCompat.Small" android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textSize="12sp" android:textSize="12sp"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"

Loading…
Cancel
Save