Widget anpassung vorbereitung
This commit is contained in:
@@ -33,6 +33,7 @@ struct ProfileView: View {
|
||||
kontoSection(profile: profile)
|
||||
passwordSection
|
||||
twoFASection(profile: profile)
|
||||
adminNoteSection
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -141,6 +142,20 @@ struct ProfileView: View {
|
||||
}
|
||||
}
|
||||
|
||||
var adminNoteSection: some View {
|
||||
Section {
|
||||
HStack(alignment: .top, spacing: 10) {
|
||||
Image(systemName: "info.circle")
|
||||
.foregroundStyle(.secondary)
|
||||
.padding(.top, 1)
|
||||
Text(L10n.t("profile.admin_note", appLang))
|
||||
.font(.footnote)
|
||||
.foregroundStyle(.secondary)
|
||||
}
|
||||
.padding(.vertical, 4)
|
||||
}
|
||||
}
|
||||
|
||||
private func load() async {
|
||||
isLoading = true
|
||||
defer { isLoading = false }
|
||||
|
||||
Reference in New Issue
Block a user