Skip to content

Commit eec96ad

Browse files
committed
feat: fix delay of notes deleted message
1 parent 760a44b commit eec96ad

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

.idea/workspace.xml

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/release/app-release.apk

20 Bytes
Binary file not shown.

app/release/output-metadata.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"type": "SINGLE",
1212
"filters": [],
1313
"attributes": [],
14-
"versionCode": 3,
15-
"versionName": "1.2",
14+
"versionCode": 4,
15+
"versionName": "1.3",
1616
"outputFile": "app-release.apk"
1717
}
1818
],

app/src/main/java/com/opennotes/feature_node/presentation/notes/NotesScreen.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ fun NotesScreen(
156156
scope.launch {
157157
val result = snackbarHostState.showSnackbar(
158158
message = "Note deleted",
159-
actionLabel = "Undo"
159+
actionLabel = "Undo",
160+
duration=SnackbarDuration.Short
160161
)
161162
if (result == SnackbarResult.ActionPerformed) {
162163
viewModel.onEvent(NotesEvent.RestoreNote)

0 commit comments

Comments
 (0)