mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 16:42:44 +02:00
MESSENGER-4516 device manager anpassungen
This commit is contained in:
committed by
Frank Rotermund
parent
280d19922f
commit
d9f9798643
+1
-1
@@ -45,7 +45,7 @@ struct SecurityRecommendationCard: View {
|
||||
|
||||
Text(buttonTitle)
|
||||
.font(theme.fonts.body)
|
||||
.foregroundColor(theme.colors.accent)
|
||||
.foregroundColor(Color(ThemeService.shared().theme.tintColor))
|
||||
}
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
}
|
||||
|
||||
+2
-2
@@ -30,9 +30,9 @@ struct UserSessionsListViewAllView: View {
|
||||
Button(action: { onBackgroundTap?() }) {
|
||||
VStack(spacing: 0) {
|
||||
HStack {
|
||||
Text("View all (\(count))")
|
||||
Text(BWIL10n.userSessionButtonViewAll(count))
|
||||
.font(theme.fonts.body)
|
||||
.foregroundColor(theme.colors.accent)
|
||||
.foregroundColor(Color(ThemeService.shared().theme.tintColor))
|
||||
.frame(maxWidth: .infinity, alignment: .leading)
|
||||
Image(Asset.Images.disclosureIcon.name)
|
||||
.foregroundColor(theme.colors.tertiaryContent)
|
||||
|
||||
+7
-6
@@ -141,14 +141,15 @@ struct UserSessionsOverview: View {
|
||||
|
||||
private var otherSessionsMenu: some View {
|
||||
Menu {
|
||||
Button {
|
||||
withAnimation {
|
||||
viewModel.send(viewAction: .showLocationInfo)
|
||||
if BWIBuildSettings.shared.deviceManagerShowIPAddress {
|
||||
Button {
|
||||
withAnimation {
|
||||
viewModel.send(viewAction: .showLocationInfo)
|
||||
}
|
||||
} label: {
|
||||
Label(showLocationInfo: viewModel.viewState.showLocationInfo)
|
||||
}
|
||||
} label: {
|
||||
Label(showLocationInfo: viewModel.viewState.showLocationInfo)
|
||||
}
|
||||
|
||||
DestructiveButton {
|
||||
viewModel.send(viewAction: .logoutOtherSessions)
|
||||
} label: {
|
||||
|
||||
Reference in New Issue
Block a user