From c00ab98441337f1e84600cc43dbaed59287152af Mon Sep 17 00:00:00 2001 From: Diego Mello Date: Wed, 10 May 2023 17:22:18 -0300 Subject: [PATCH] feat(Android): Remove Open workspace from onboarding (#5065) * Remove Open * Remove on Android only and comment tests out --- app/views/NewServerView/index.tsx | 50 ++++++++++++---------- e2e/tests/assorted/12-i18n.spec.ts | 12 +++--- e2e/tests/onboarding/01-onboarding.spec.ts | 18 ++++---- 3 files changed, 42 insertions(+), 38 deletions(-) diff --git a/app/views/NewServerView/index.tsx b/app/views/NewServerView/index.tsx index 7bb3d0874..85d0846c3 100644 --- a/app/views/NewServerView/index.tsx +++ b/app/views/NewServerView/index.tsx @@ -22,7 +22,7 @@ import { sanitizeLikeString } from '../../lib/database/utils'; import UserPreferences from '../../lib/methods/userPreferences'; import { OutsideParamList } from '../../stacks/types'; import { withTheme } from '../../theme'; -import { isTablet } from '../../lib/methods/helpers'; +import { isIOS, isTablet } from '../../lib/methods/helpers'; import EventEmitter from '../../lib/methods/helpers/events'; import { BASIC_AUTH_KEY, setBasicAuth } from '../../lib/methods/helpers/fetch'; import { showConfirmationAlert } from '../../lib/methods/helpers/info'; @@ -392,28 +392,32 @@ class NewServerView extends React.Component - - - {I18n.t('Onboarding_join_open_description')} - -