From 02f7817545429b08122fa57cedfb5c924cb435d8 Mon Sep 17 00:00:00 2001 From: cretadn22 <cretadn22@gmail.com> Date: Wed, 19 Jun 2024 00:24:23 +0700 Subject: [PATCH 1/2] add offline indicator --- src/pages/settings/Subscription/SubscriptionSettingsPage.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/settings/Subscription/SubscriptionSettingsPage.tsx b/src/pages/settings/Subscription/SubscriptionSettingsPage.tsx index c0a280f35e99..51fb7f8b9a9e 100644 --- a/src/pages/settings/Subscription/SubscriptionSettingsPage.tsx +++ b/src/pages/settings/Subscription/SubscriptionSettingsPage.tsx @@ -34,7 +34,7 @@ function SubscriptionSettingsPage() { } return ( - <ScreenWrapper testID={SubscriptionSettingsPage.displayName}> + <ScreenWrapper testID={SubscriptionSettingsPage.displayName} shouldShowOfflineIndicatorInWideScreen> <HeaderWithBackButton title={translate('workspace.common.subscription')} onBackButtonPress={() => Navigation.goBack()} From 5feb7b391f6e1d0477d152a885a4c6fceae515bd Mon Sep 17 00:00:00 2001 From: cretadn22 <cretadn22@gmail.com> Date: Wed, 19 Jun 2024 00:38:58 +0700 Subject: [PATCH 2/2] resolve lint --- src/pages/settings/Subscription/SubscriptionSettingsPage.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/pages/settings/Subscription/SubscriptionSettingsPage.tsx b/src/pages/settings/Subscription/SubscriptionSettingsPage.tsx index 51fb7f8b9a9e..ba1c3fa33a64 100644 --- a/src/pages/settings/Subscription/SubscriptionSettingsPage.tsx +++ b/src/pages/settings/Subscription/SubscriptionSettingsPage.tsx @@ -34,7 +34,10 @@ function SubscriptionSettingsPage() { } return ( - <ScreenWrapper testID={SubscriptionSettingsPage.displayName} shouldShowOfflineIndicatorInWideScreen> + <ScreenWrapper + testID={SubscriptionSettingsPage.displayName} + shouldShowOfflineIndicatorInWideScreen + > <HeaderWithBackButton title={translate('workspace.common.subscription')} onBackButtonPress={() => Navigation.goBack()}