reducing net toast times

This commit is contained in:
andy 2022-08-12 10:04:03 +01:00
parent 9e3417f3fa
commit eebc52751b
3 changed files with 3 additions and 3 deletions

View File

@ -81,7 +81,7 @@ struct PlaylistList: View {
AddPlaylistSheet(playlists: self.$liveUser.playlists, username: self.$liveUser.username)
}
)
.toast(isPresented: $showingToast, dismissAfter: 3.0){
.toast(isPresented: $showingToast, dismissAfter: 1.0){
if toastSuccess {
ToastView(toastText)

View File

@ -199,7 +199,7 @@ struct PlaylistView: View {
Text("Open")
}
}
.toast(isPresented: $showingToast, dismissAfter: 3.0){
.toast(isPresented: $showingToast, dismissAfter: 1.0){
if toastSuccess {
ToastView(toastText)

View File

@ -74,7 +74,7 @@ struct TagList: View {
AddTagSheet(tags: self.$liveUser.tags, username: self.$liveUser.username)
}
)
.toast(isPresented: $showingToast, dismissAfter: 3.0){
.toast(isPresented: $showingToast, dismissAfter: 1.0){
if toastSuccess {
ToastView(toastText)