adding alerts for the success notes

This commit is contained in:
talksik
2022-01-02 17:47:49 -08:00
parent 57f8dd4dc9
commit 1e530c43dc
@@ -37,9 +37,9 @@ class InnerCircleViewModel: ObservableObject {
var view: AlertToast { var view: AlertToast {
switch self { switch self {
case .removedFriend: case .removedFriend:
return AlertToast(displayMode: .hud, type: .complete(Color.green), title: "removed friend") return AlertToast(displayMode: .alert, type: .complete(Color.green), title: "Done", subTitle: "removed friend")
case .addedFriend: case .addedFriend:
return AlertToast(displayMode: .hud, type: .complete(Color.green), title: "added friend") return AlertToast(displayMode: .alert, type: .complete(Color.green), title: "Done", subTitle: "added friend")
case .cannotFriendYourself: case .cannotFriendYourself:
return AlertToast(displayMode: .hud, type: .error(Color.orange), title: "silly! 🙉", subTitle: "you cannot friend yourself") return AlertToast(displayMode: .hud, type: .error(Color.orange), title: "silly! 🙉", subTitle: "you cannot friend yourself")
case .maxFriendsInCircle: case .maxFriendsInCircle: