mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-02 03:40:16 +00:00
[fenix] For https://github.com/mozilla-mobile/fenix/issues/23991 - Fix synced tabs error text mapping
This commit is contained in:
parent
457230f280
commit
6caab8dc25
@ -112,17 +112,19 @@ class SyncedTabsIntegration(
|
|||||||
SyncedTabsListItem.Error(errorText = context.getString(R.string.synced_tabs_enable_tab_syncing))
|
SyncedTabsListItem.Error(errorText = context.getString(R.string.synced_tabs_enable_tab_syncing))
|
||||||
|
|
||||||
SyncedTabsView.ErrorType.SYNC_NEEDS_REAUTHENTICATION ->
|
SyncedTabsView.ErrorType.SYNC_NEEDS_REAUTHENTICATION ->
|
||||||
SyncedTabsListItem.Error(errorText = context.getString(R.string.synced_tabs_sign_in_message))
|
|
||||||
|
|
||||||
SyncedTabsView.ErrorType.NO_TABS_AVAILABLE ->
|
|
||||||
SyncedTabsListItem.Error(errorText = context.getString(R.string.synced_tabs_reauth))
|
SyncedTabsListItem.Error(errorText = context.getString(R.string.synced_tabs_reauth))
|
||||||
|
|
||||||
SyncedTabsView.ErrorType.SYNC_UNAVAILABLE ->
|
SyncedTabsView.ErrorType.NO_TABS_AVAILABLE ->
|
||||||
SyncedTabsListItem.Error(
|
SyncedTabsListItem.Error(
|
||||||
errorText = context.getString(
|
errorText = context.getString(
|
||||||
R.string.synced_tabs_no_tabs_2,
|
R.string.synced_tabs_no_tabs_2,
|
||||||
context.getString(R.string.app_name)
|
context.getString(R.string.app_name)
|
||||||
),
|
),
|
||||||
|
)
|
||||||
|
|
||||||
|
SyncedTabsView.ErrorType.SYNC_UNAVAILABLE ->
|
||||||
|
SyncedTabsListItem.Error(
|
||||||
|
errorText = context.getString(R.string.synced_tabs_sign_in_message),
|
||||||
errorButton = SyncedTabsListItem.ErrorButton(
|
errorButton = SyncedTabsListItem.ErrorButton(
|
||||||
buttonText = context.getString(R.string.synced_tabs_sign_in_button)
|
buttonText = context.getString(R.string.synced_tabs_sign_in_button)
|
||||||
) {
|
) {
|
||||||
|
Loading…
Reference in New Issue
Block a user