mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Reduce toast display time
This commit is contained in:
parent
7d77291f11
commit
28aa9a468d
1 changed files with 1 additions and 1 deletions
|
|
@ -210,7 +210,7 @@
|
|||
}
|
||||
.onChange(of: viewModel.operationStatus) { newValue in
|
||||
if newValue == .success || newValue == .failure {
|
||||
DispatchQueue.main.asyncAfter(deadline: .now() + .milliseconds(2000)) {
|
||||
DispatchQueue.main.asyncAfter(deadline: .now() + .milliseconds(1000)) {
|
||||
viewModel.showOperationToast = false
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue