adding alerts

This commit is contained in:
talksik
2022-01-02 02:08:29 -08:00
parent 3df3d4a246
commit ea47ab2a0d
3 changed files with 24 additions and 10 deletions
@@ -150,7 +150,7 @@ struct InnerCircleView: View {
// set status of user to online
self.authSessionStore.updateUserStatus(userStatus: .online)
}
.toast(isPresenting: self.$convoViewModel.showToast) {
.toast(isPresenting: self.$convoViewModel.showToast, duration: 2) {
self.convoViewModel.toast?.view ?? AlertToast(displayMode: .hud, type: .error(Color.red), title: "Something went wrong")
}
// .onDisappear {