diff --git a/IceCubesApp/App/Tabs/Settings/AccountSettingView.swift b/IceCubesApp/App/Tabs/Settings/AccountSettingView.swift index 0dce938f..d1df606f 100644 --- a/IceCubesApp/App/Tabs/Settings/AccountSettingView.swift +++ b/IceCubesApp/App/Tabs/Settings/AccountSettingView.swift @@ -9,12 +9,14 @@ import Timeline struct AccountSettingsView: View { @Environment(\.dismiss) private var dismiss + @Environment(\.openURL) private var openURL @EnvironmentObject private var pushNotifications: PushNotificationsService @EnvironmentObject private var currentAccount: CurrentAccount @EnvironmentObject private var currentInstance: CurrentInstance @EnvironmentObject private var theme: Theme @EnvironmentObject private var appAccountsManager: AppAccountsManager + @EnvironmentObject private var client: Client @State private var isEditingAccount: Bool = false @State private var isEditingFilters: Bool = false @@ -64,6 +66,15 @@ struct AccountSettingsView: View { } .listRowBackground(theme.primaryBackgroundColor) + Section { + Button { + openURL(URL(string: "https://\(client.server)/settings/profile")!) + } label: { + Text("account.action.more") + } + } + .listRowBackground(theme.primaryBackgroundColor) + Section { Button(role: .destructive) { if let token = appAccount.oauthToken { diff --git a/IceCubesApp/Resources/Localization/be.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/be.lproj/Localizable.strings index b31178c9..4ac971e2 100644 --- a/IceCubesApp/Resources/Localization/be.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/be.lproj/Localizable.strings @@ -293,6 +293,7 @@ "account.relation.follows-you" = "Сочыць за табой"; "account.joined" = "Далучыліся"; "account.action.logout" = "Выйсці з уліковага запісу"; +"account.action.more" = "More Settings"; "account.relation.note.edit" = "Рэдагаваць нататку"; "account.relation.note.edit.placeholder" = "Увядзіце тэкст нататкі"; diff --git a/IceCubesApp/Resources/Localization/ca.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/ca.lproj/Localizable.strings index 5749e1e3..259d4ebc 100644 --- a/IceCubesApp/Resources/Localization/ca.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/ca.lproj/Localizable.strings @@ -287,6 +287,7 @@ "account.relation.follows-you" = "Us segueix"; "account.joined" = "S'ha unit"; "account.action.logout" = "Tanca la sessió"; +"account.action.more" = "More Settings"; "account.relation.note.edit" = "Edit Note"; "account.relation.note.edit.placeholder" = "Enter Note text"; diff --git a/IceCubesApp/Resources/Localization/de.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/de.lproj/Localizable.strings index c564e6f7..a6a97599 100644 --- a/IceCubesApp/Resources/Localization/de.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/de.lproj/Localizable.strings @@ -289,6 +289,7 @@ "account.joined" = "Beigetreten am"; "account.action.logout" = "Abmelden"; "account.action.edit-filters" = "Filter bearbeiten"; +"account.action.more" = "More Settings"; "account.relation.note.edit" = "Notiz bearbeiten"; "account.relation.note.edit.placeholder" = "Gib den Notiztext ein"; diff --git a/IceCubesApp/Resources/Localization/en-GB.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/en-GB.lproj/Localizable.strings index e2b56787..df435ac1 100644 --- a/IceCubesApp/Resources/Localization/en-GB.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/en-GB.lproj/Localizable.strings @@ -290,6 +290,7 @@ "account.relation.follows-you" = "Follows You"; "account.joined" = "Joined"; "account.action.logout" = "Log Out Account"; +"account.action.more" = "More Settings"; "account.relation.note.edit" = "Edit Note"; "account.relation.note.edit.placeholder" = "Enter Note text"; diff --git a/IceCubesApp/Resources/Localization/en.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/en.lproj/Localizable.strings index 5b0b97df..ac42aaa6 100644 --- a/IceCubesApp/Resources/Localization/en.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/en.lproj/Localizable.strings @@ -289,6 +289,7 @@ "account.relation.follows-you" = "Follows You"; "account.joined" = "Joined"; "account.action.logout" = "Log Out Account"; +"account.action.more" = "More Settings"; "account.relation.note.edit" = "Edit Note"; "account.relation.note.edit.placeholder" = "Enter Note text"; diff --git a/IceCubesApp/Resources/Localization/es.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/es.lproj/Localizable.strings index 3d6c2f0e..f578fdc6 100644 --- a/IceCubesApp/Resources/Localization/es.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/es.lproj/Localizable.strings @@ -289,6 +289,7 @@ "account.relation.follows-you" = "Te sigue"; "account.joined" = "Se unió el"; "account.action.logout" = "Cerrar sesión"; +"account.action.more" = "More Settings"; "account.relation.note.edit" = "Editar nota"; "account.relation.note.edit.placeholder" = "Escribe una nota de texto"; diff --git a/IceCubesApp/Resources/Localization/eu.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/eu.lproj/Localizable.strings index f6213a06..522c5461 100644 --- a/IceCubesApp/Resources/Localization/eu.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/eu.lproj/Localizable.strings @@ -289,6 +289,7 @@ "account.joined" = "Batze-data:"; "account.action.logout" = "Amaitu saioa"; "account.action.edit-filters" = "Editatu iragazkiak"; +"account.action.more" = "More Settings"; "account.relation.note.edit" = "Editatu oharra"; "account.relation.note.edit.placeholder" = "Idatzi oharra hemen"; diff --git a/IceCubesApp/Resources/Localization/fr.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/fr.lproj/Localizable.strings index f0ef8452..239000ae 100644 --- a/IceCubesApp/Resources/Localization/fr.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/fr.lproj/Localizable.strings @@ -288,6 +288,7 @@ "account.relation.follows-you" = "Vous suit"; "account.joined" = "Inscrit"; "account.action.logout" = "Déconnexion"; +"account.action.more" = "More Settings"; "account.relation.note.edit" = "Modifier la note"; "account.relation.note.edit.placeholder" = "Saisissez le texte de la note"; diff --git a/IceCubesApp/Resources/Localization/it.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/it.lproj/Localizable.strings index 4ddf7891..920c7736 100644 --- a/IceCubesApp/Resources/Localization/it.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/it.lproj/Localizable.strings @@ -289,6 +289,7 @@ "account.joined" = "utente dal"; "account.action.logout" = "Esci dall'account"; "account.action.edit-filters" = "Modifica i Filtri"; +"account.action.more" = "More Settings"; "account.relation.note.edit" = "Modifica nota"; "account.relation.note.edit.placeholder" = "Inserisci il testo della nota"; diff --git a/IceCubesApp/Resources/Localization/ja.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/ja.lproj/Localizable.strings index 42ff9fb8..583da384 100644 --- a/IceCubesApp/Resources/Localization/ja.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/ja.lproj/Localizable.strings @@ -288,6 +288,7 @@ "account.relation.follows-you" = "フォローされています"; "account.joined" = "登録日"; "account.action.logout" = "アカウントをログアウトする"; +"account.action.more" = "More Settings"; "account.relation.note.edit" = "ノートを編集"; "account.relation.note.edit.placeholder" = "ノートを入力"; diff --git a/IceCubesApp/Resources/Localization/ko.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/ko.lproj/Localizable.strings index f1992e54..b0ab6936 100644 --- a/IceCubesApp/Resources/Localization/ko.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/ko.lproj/Localizable.strings @@ -289,6 +289,7 @@ "account.relation.follows-you" = "나를 팔로우함"; "account.joined" = "가입"; "account.action.logout" = "로그아웃"; +"account.action.more" = "More Settings"; "account.relation.note.edit" = "노트 편집"; "account.relation.note.edit.placeholder" = "나만 볼 수 있는 노트"; diff --git a/IceCubesApp/Resources/Localization/nb.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/nb.lproj/Localizable.strings index 40b26077..0ab65d54 100644 --- a/IceCubesApp/Resources/Localization/nb.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/nb.lproj/Localizable.strings @@ -288,6 +288,7 @@ "account.relation.follows-you" = "Følger deg"; "account.joined" = "Ble med"; "account.action.logout" = "Logg ut konto"; +"account.action.more" = "More Settings"; "account.relation.note.edit" = "Edit Note"; "account.relation.note.edit.placeholder" = "Enter Note text"; diff --git a/IceCubesApp/Resources/Localization/nl.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/nl.lproj/Localizable.strings index e45e10b7..cb8097e5 100644 --- a/IceCubesApp/Resources/Localization/nl.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/nl.lproj/Localizable.strings @@ -286,6 +286,7 @@ "account.joined" = "Lid geworden"; "account.action.logout" = "Log uit"; "account.action.edit-filters" = "Bewerk filters"; +"account.action.more" = "More Settings"; "account.relation.note.edit" = "Bewerk notitie"; "account.relation.note.edit.placeholder" = "Voer notitietekst in"; diff --git a/IceCubesApp/Resources/Localization/pl.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/pl.lproj/Localizable.strings index f8973ae5..2370930d 100644 --- a/IceCubesApp/Resources/Localization/pl.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/pl.lproj/Localizable.strings @@ -286,6 +286,7 @@ "account.relation.follows-you" = "Obserwuje ciebie"; "account.joined" = "Dołączył(a)"; "account.action.logout" = "Wyloguj się"; +"account.action.more" = "More Settings"; "account.relation.note.edit" = "Edytuj notatkę"; "account.relation.note.edit.placeholder" = "Wprowadź treść notatki"; diff --git a/IceCubesApp/Resources/Localization/pt-BR.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/pt-BR.lproj/Localizable.strings index faab4c9e..ac35ae00 100644 --- a/IceCubesApp/Resources/Localization/pt-BR.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/pt-BR.lproj/Localizable.strings @@ -288,6 +288,7 @@ "account.relation.follows-you" = "Seguiu Você"; "account.joined" = "Entrou em"; "account.action.logout" = "Sair da conta"; +"account.action.more" = "More Settings"; "account.relation.note.edit" = "Editar nota"; "account.relation.note.edit.placeholder" = "Digite o texto da nota"; diff --git a/IceCubesApp/Resources/Localization/tr.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/tr.lproj/Localizable.strings index 2678c5ca..e8c89ae8 100644 --- a/IceCubesApp/Resources/Localization/tr.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/tr.lproj/Localizable.strings @@ -284,6 +284,7 @@ "account.relation.follows-you" = "Seni takip ediyor"; "account.joined" = "Katılındı"; "account.action.logout" = "Log out account"; +"account.action.more" = "More Settings"; "account.relation.note.edit" = "Edit Note"; "account.relation.note.edit.placeholder" = "Enter Note text"; diff --git a/IceCubesApp/Resources/Localization/uk.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/uk.lproj/Localizable.strings index 3433c268..04a2736d 100644 --- a/IceCubesApp/Resources/Localization/uk.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/uk.lproj/Localizable.strings @@ -289,6 +289,7 @@ "account.relation.follows-you" = "Підписується на вас"; "account.joined" = "Доєднався"; "account.action.logout" = "Вийти з облікового запису"; +"account.action.more" = "More Settings"; "account.relation.note.edit" = "Редагувати нотатку"; "account.relation.note.edit.placeholder" = "Додати нотатку"; diff --git a/IceCubesApp/Resources/Localization/zh-Hans.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/zh-Hans.lproj/Localizable.strings index 8f09b9ec..ac755969 100644 --- a/IceCubesApp/Resources/Localization/zh-Hans.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/zh-Hans.lproj/Localizable.strings @@ -287,6 +287,7 @@ "account.joined" = "加入于"; "account.action.logout" = "退出登录"; "account.action.edit-filters" = "编辑过滤器"; +"account.action.more" = "More Settings"; "account.relation.note.edit" = "编辑备注"; "account.relation.note.edit.placeholder" = "输入备注文本";