adding all toasts for whole of convo vm

This commit is contained in:
talksik
2022-01-01 23:46:50 -08:00
parent 7c21f53183
commit 5ed7300cd2
5 changed files with 90 additions and 12 deletions
@@ -8,6 +8,7 @@
import SwiftUI
import NavigationStack
import AVKit
import AlertToast
struct CircleGridView: View {
@EnvironmentObject var innerCircleVM: InnerCircleViewModel
@@ -338,9 +339,9 @@ struct CircleGridView: View {
self.animateLiveConvos = true
}// univseral alert TODO: move to inner circle view and use this pattern for all view models
.alert(item: self.$convoVM.error) {error in
error.alert
}
// .alert(item: self.$convoVM.error) {error in
// error.alert
// }
} // scrollview reader
}