Skip to content
This repository was archived by the owner on Jun 30, 2025. It is now read-only.

Commit bb06ca6

Browse files
author
Steellow
committed
fix bug where entries might be deleted accidentally
1 parent c58a732 commit bb06ca6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/screens/history/widgets/history_list_view.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ class _HistoryListViewState extends State<HistoryListView> {
115115
).then((value) {
116116
setState(() {}); // Setting state when getting back from edit screen
117117
});
118-
} else {
118+
} else if(selected == 1) {
119119
Get.dialog(
120120
ThemeConsumer(
121121
child: AlertDialog(

0 commit comments

Comments
 (0)