fd
This commit is contained in:
parent
5cd48e0a66
commit
5a8a33aaf5
@ -40,6 +40,13 @@ public struct SnackBarView: View {
|
|||||||
|
|
||||||
}.frame(maxWidth: .infinity)
|
}.frame(maxWidth: .infinity)
|
||||||
.padding()
|
.padding()
|
||||||
|
.onAppear {
|
||||||
|
DispatchQueue.main.asyncAfter(deadline: .now() + 5) {
|
||||||
|
withAnimation {
|
||||||
|
isShow = false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user