This commit is contained in:
Aakiyaru 2025-05-28 13:28:53 +07:00
parent 5cd48e0a66
commit 5a8a33aaf5

View File

@ -40,6 +40,13 @@ public struct SnackBarView: View {
}.frame(maxWidth: .infinity)
.padding()
.onAppear {
DispatchQueue.main.asyncAfter(deadline: .now() + 5) {
withAnimation {
isShow = false
}
}
}
}
}