From dd8b9266585f979cbf3111c857c9ceb4f6e7f012 Mon Sep 17 00:00:00 2001 From: tomokisun Date: Sun, 15 Sep 2024 15:42:12 +0900 Subject: [PATCH] feat(bematch): remove profile edit username --- .../ProfileEditFeature/Localizable.xcstrings | 18 +----------------- .../ProfileEditFeature/ProfileEdit.swift | 14 -------------- 2 files changed, 1 insertion(+), 31 deletions(-) diff --git a/Packages/BeMatch/Sources/ProfileEditFeature/Localizable.xcstrings b/Packages/BeMatch/Sources/ProfileEditFeature/Localizable.xcstrings index e32f1028..addd11fe 100644 --- a/Packages/BeMatch/Sources/ProfileEditFeature/Localizable.xcstrings +++ b/Packages/BeMatch/Sources/ProfileEditFeature/Localizable.xcstrings @@ -197,23 +197,7 @@ } } } - }, - "Username on BeReal." : { - "localizations" : { - "fr" : { - "stringUnit" : { - "state" : "translated", - "value" : "Nom d'utilisateur sur BeReal." - } - }, - "ja" : { - "stringUnit" : { - "state" : "translated", - "value" : "BeRealのユーザーネーム" - } - } - } } }, "version" : "1.0" -} +} \ No newline at end of file diff --git a/Packages/BeMatch/Sources/ProfileEditFeature/ProfileEdit.swift b/Packages/BeMatch/Sources/ProfileEditFeature/ProfileEdit.swift index f3ffd9d0..f5355eba 100644 --- a/Packages/BeMatch/Sources/ProfileEditFeature/ProfileEdit.swift +++ b/Packages/BeMatch/Sources/ProfileEditFeature/ProfileEdit.swift @@ -18,20 +18,6 @@ public struct ProfileEditView: View { public var body: some View { List { Section { - Button { - store.send(.usernameSettingButtonTapped) - } label: { - LabeledContent { - Image(systemName: "chevron.right") - } label: { - Text("Username on BeReal.", bundle: .module) - .foregroundStyle(Color.primary) - } - } - .navigationDestination(store: store.scope(state: \.$destination.usernameSetting, action: \.destination.usernameSetting)) { store in - UsernameSettingView(store: store, nextButtonStyle: .save) - } - Button { store.send(.displayNameSettingButtonTapped) } label: {