From 1e530c43dc1649dce4434d9d0c59ffd19f7dcf0b Mon Sep 17 00:00:00 2001 From: talksik Date: Sun, 2 Jan 2022 17:47:49 -0800 Subject: [PATCH] adding alerts for the success notes --- nirvana-ios/Views/InnerCircle/InnerCircleViewModel.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nirvana-ios/Views/InnerCircle/InnerCircleViewModel.swift b/nirvana-ios/Views/InnerCircle/InnerCircleViewModel.swift index f57b992..b92ed0e 100644 --- a/nirvana-ios/Views/InnerCircle/InnerCircleViewModel.swift +++ b/nirvana-ios/Views/InnerCircle/InnerCircleViewModel.swift @@ -37,9 +37,9 @@ class InnerCircleViewModel: ObservableObject { var view: AlertToast { switch self { 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: - 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: return AlertToast(displayMode: .hud, type: .error(Color.orange), title: "silly! 🙉", subTitle: "you cannot friend yourself") case .maxFriendsInCircle: