diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-07-23 15:01:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-23 15:01:04 +0100 |
commit | 27d712290a908fcb471c59a8e5c8e95bd862c49c (patch) | |
tree | e39aa55d097725fd9fcd448198d62a0c02b4966f /src/view/screens/SavedFeeds.tsx | |
parent | 59bafb426ff018a3b8a92dee8994c5413fb30076 (diff) | |
download | voidsky-27d712290a908fcb471c59a8e5c8e95bd862c49c.tar.zst |
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>
Diffstat (limited to 'src/view/screens/SavedFeeds.tsx')
-rw-r--r-- | src/view/screens/SavedFeeds.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/view/screens/SavedFeeds.tsx b/src/view/screens/SavedFeeds.tsx index d79c7708c..ef76cdcb2 100644 --- a/src/view/screens/SavedFeeds.tsx +++ b/src/view/screens/SavedFeeds.tsx @@ -234,7 +234,7 @@ function ListItem({ }, ]) } 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}) } }, [_, playHaptic, feed, updateSavedFeeds, resetSaveFeedsMutationState]) @@ -260,7 +260,7 @@ function ListItem({ index: nextIndex, }) } 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 set pinned feed order', {message: e}) } }, [feed, isPinned, overwriteSavedFeeds, currentFeeds, _]) @@ -286,7 +286,7 @@ function ListItem({ index: nextIndex, }) } 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 set pinned feed order', {message: e}) } }, [feed, isPinned, overwriteSavedFeeds, currentFeeds, _]) |