You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Show error toast with red background color instead of green
Base branch: develop: All new changes needs to be done using develop branch as base branch. We use develop as base for Test Flight distribution releases
Context
All errors collected by connectManagerErrorState are currently shown with green background. We want to change that to a red background to be more descriptive as an error instead of a notification
Screenshot
Requirements
Create new NotifyError class method in ChatListSideEffect, ChatSideEffect and OnBoardConnectingSideEffect to implement toast with R.color.badgeRed background color. SphinxToastUtils has a optional param for toastBackgroundTint to be passed in the new method
Replace Notify by NotifyError on all submitSideEffect calls when collecting connectManagerRepository.connectManagerErrorState in DashboardViewModel, ChatViewModel and OnboardConnectingViewModel
Acceptance Criteria
Show all connect manager error messages with red background instead of green
The text was updated successfully, but these errors were encountered:
Show error toast with red background color instead of green
Base branch: develop: All new changes needs to be done using
develop
branch as base branch. We usedevelop
as base for Test Flight distribution releasesContext
All errors collected by
connectManagerErrorState
are currently shown with green background. We want to change that to a red background to be more descriptive as an error instead of a notificationScreenshot
Requirements
NotifyError
class method inChatListSideEffect
,ChatSideEffect
andOnBoardConnectingSideEffect
to implement toast withR.color.badgeRed
background color.SphinxToastUtils
has a optional param fortoastBackgroundTint
to be passed in the new methodNotify
byNotifyError
on allsubmitSideEffect
calls when collectingconnectManagerRepository.connectManagerErrorState
inDashboardViewModel
,ChatViewModel
andOnboardConnectingViewModel
Acceptance Criteria
The text was updated successfully, but these errors were encountered: