Aggiunge gestione account con cambio password su web e app.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-08 10:38:57 +02:00
co-authored by Cursor
parent b8694a6b7b
commit 83a804a709
46 changed files with 1591 additions and 34 deletions
@@ -5,7 +5,7 @@ struct MatchesScreen: View {
var refreshToken: Int = 0
let onOpenSetup: (String) -> Void
let onOpenBroadcast: (String) -> Void
let onLogout: () -> Void
let onOpenAccount: () -> Void
@State private var loading = true
@State private var refreshing = false
@@ -37,15 +37,12 @@ struct MatchesScreen: View {
}
.accessibilityLabel(L10n.t("language.label"))
Button {
Task {
await container.authRepository.logout()
onLogout()
}
onOpenAccount()
} label: {
Image(systemName: "rectangle.portrait.and.arrow.right")
Image(systemName: "person.crop.circle")
.foregroundStyle(MatchColors.textSecondary)
}
.accessibilityLabel(L10n.t("action.logout"))
.accessibilityLabel(L10n.t("account.title"))
}
.padding(.horizontal, 16)
.padding(.vertical, 8)