From 27d712290a908fcb471c59a8e5c8e95bd862c49c Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Tue, 23 Jul 2024 15:01:04 +0100 Subject: Use appropriate icons for toasts (#4803) * use appropriate icons for toasts * use info for session expiry * tweak size * message -> safeMessage --------- Co-authored-by: Samuel Newman <10959775+mozzius@users.noreply.github.com> --- src/view/screens/ProfileList.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/view/screens/ProfileList.tsx') diff --git a/src/view/screens/ProfileList.tsx b/src/view/screens/ProfileList.tsx index 72de428f3..89682af5f 100644 --- a/src/view/screens/ProfileList.tsx +++ b/src/view/screens/ProfileList.tsx @@ -300,7 +300,7 @@ function Header({rkey, list}: {rkey: string; list: AppBskyGraphDefs.ListView}) { Toast.show(_(msg`Saved to your feeds`)) } } catch (e) { - Toast.show(_(msg`There was an issue contacting the server`)) + Toast.show(_(msg`There was an issue contacting the server`), 'xmark') logger.error('Failed to toggle pinned feed', {message: e}) } }, [ @@ -319,7 +319,7 @@ function Header({rkey, list}: {rkey: string; list: AppBskyGraphDefs.ListView}) { await removeSavedFeed(savedFeedConfig) Toast.show(_(msg`Removed from your feeds`)) } catch (e) { - Toast.show(_(msg`There was an issue contacting the server`)) + Toast.show(_(msg`There was an issue contacting the server`), 'xmark') logger.error('Failed to remove pinned list', {message: e}) } }, [playHaptic, removeSavedFeed, _, savedFeedConfig]) -- cgit 1.4.1