diff options
Diffstat (limited to 'src/screens/StarterPack')
-rw-r--r-- | src/screens/StarterPack/StarterPackScreen.tsx | 4 | ||||
-rw-r--r-- | src/screens/StarterPack/Wizard/State.tsx | 7 | ||||
-rw-r--r-- | src/screens/StarterPack/Wizard/index.tsx | 4 |
3 files changed, 9 insertions, 6 deletions
diff --git a/src/screens/StarterPack/StarterPackScreen.tsx b/src/screens/StarterPack/StarterPackScreen.tsx index 680b7c455..595e18527 100644 --- a/src/screens/StarterPack/StarterPackScreen.tsx +++ b/src/screens/StarterPack/StarterPackScreen.tsx @@ -359,7 +359,7 @@ function Header({ captureAction(ProgressGuideAction.Follow, dids.length) Toast.show(_(msg`All accounts have been followed!`)) } catch (e) { - Toast.show(_(msg`An error occurred while trying to follow all`)) + Toast.show(_(msg`An error occurred while trying to follow all`), 'xmark') } finally { setIsProcessing(false) } @@ -672,7 +672,7 @@ function InvalidStarterPack({rkey}: {rkey: string}) { onError: e => { setIsProcessing(false) logger.error('Failed to delete invalid starter pack', {safeMessage: e}) - Toast.show(_(msg`Failed to delete starter pack`)) + Toast.show(_(msg`Failed to delete starter pack`), 'xmark') }, }) diff --git a/src/screens/StarterPack/Wizard/State.tsx b/src/screens/StarterPack/Wizard/State.tsx index ea9bbf9d3..ba5bb147c 100644 --- a/src/screens/StarterPack/Wizard/State.tsx +++ b/src/screens/StarterPack/Wizard/State.tsx @@ -74,7 +74,10 @@ function reducer(state: State, action: Action): State { break case 'AddProfile': if (state.profiles.length >= 51) { - Toast.show(msg`You may only add up to 50 profiles`.message ?? '') + Toast.show( + msg`You may only add up to 50 profiles`.message ?? '', + 'info', + ) } else { updatedState = {...state, profiles: [...state.profiles, action.profile]} } @@ -89,7 +92,7 @@ function reducer(state: State, action: Action): State { break case 'AddFeed': if (state.feeds.length >= 50) { - Toast.show(msg`You may only add up to 50 feeds`.message ?? '') + Toast.show(msg`You may only add up to 50 feeds`.message ?? '', 'info') } else { updatedState = {...state, feeds: [...state.feeds, action.feed]} } diff --git a/src/screens/StarterPack/Wizard/index.tsx b/src/screens/StarterPack/Wizard/index.tsx index 3f0499a1d..8d9bb165b 100644 --- a/src/screens/StarterPack/Wizard/index.tsx +++ b/src/screens/StarterPack/Wizard/index.tsx @@ -227,7 +227,7 @@ function WizardInner({ onError: e => { logger.error('Failed to create starter pack', {safeMessage: e}) dispatch({type: 'SetProcessing', processing: false}) - Toast.show(_(msg`Failed to create starter pack`)) + Toast.show(_(msg`Failed to create starter pack`), 'xmark') }, }) const {mutate: editStarterPack} = useEditStarterPackMutation({ @@ -235,7 +235,7 @@ function WizardInner({ onError: e => { logger.error('Failed to edit starter pack', {safeMessage: e}) dispatch({type: 'SetProcessing', processing: false}) - Toast.show(_(msg`Failed to create starter pack`)) + Toast.show(_(msg`Failed to create starter pack`), 'xmark') }, }) |