Skip to content

Commit

Permalink
Make "new update found" snackbar only display momentarily
Browse files Browse the repository at this point in the history
  • Loading branch information
Rian8337 committed Dec 9, 2023
1 parent be5e463 commit b848844
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/com/reco1l/legacy/UpdateManager.kt
Original file line number Diff line number Diff line change
Expand Up @@ -216,9 +216,8 @@ object UpdateManager: IDownloaderObserver
}

snackBar.apply {

// Will only dismiss if user wants.
duration = LENGTH_INDEFINITE

duration = 5000

setText(update_dialog_message)
setAction(update_dialog_button_update) {
Expand Down

0 comments on commit b848844

Please sign in to comment.