reducing net toast times
This commit is contained in:
parent
9e3417f3fa
commit
eebc52751b
@ -81,7 +81,7 @@ struct PlaylistList: View {
|
|||||||
AddPlaylistSheet(playlists: self.$liveUser.playlists, username: self.$liveUser.username)
|
AddPlaylistSheet(playlists: self.$liveUser.playlists, username: self.$liveUser.username)
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
.toast(isPresented: $showingToast, dismissAfter: 3.0){
|
.toast(isPresented: $showingToast, dismissAfter: 1.0){
|
||||||
|
|
||||||
if toastSuccess {
|
if toastSuccess {
|
||||||
ToastView(toastText)
|
ToastView(toastText)
|
||||||
|
@ -199,7 +199,7 @@ struct PlaylistView: View {
|
|||||||
Text("Open")
|
Text("Open")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.toast(isPresented: $showingToast, dismissAfter: 3.0){
|
.toast(isPresented: $showingToast, dismissAfter: 1.0){
|
||||||
|
|
||||||
if toastSuccess {
|
if toastSuccess {
|
||||||
ToastView(toastText)
|
ToastView(toastText)
|
||||||
|
@ -74,7 +74,7 @@ struct TagList: View {
|
|||||||
AddTagSheet(tags: self.$liveUser.tags, username: self.$liveUser.username)
|
AddTagSheet(tags: self.$liveUser.tags, username: self.$liveUser.username)
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
.toast(isPresented: $showingToast, dismissAfter: 3.0){
|
.toast(isPresented: $showingToast, dismissAfter: 1.0){
|
||||||
|
|
||||||
if toastSuccess {
|
if toastSuccess {
|
||||||
ToastView(toastText)
|
ToastView(toastText)
|
||||||
|
Loading…
Reference in New Issue
Block a user