MESSENGER-4516 device manager anpassungen

This commit is contained in:
Arnfried Griesert
2023-04-28 06:28:47 +00:00
committed by Frank Rotermund
parent 280d19922f
commit d9f9798643
18 changed files with 54 additions and 29 deletions
@@ -94,10 +94,12 @@ struct UserOtherSessionsToolbar: ToolbarContent {
}
.disabled(sessionCount == 0)
Button {
isShowLocationEnabled.toggle()
} label: {
Label(showLocationInfo: isShowLocationEnabled)
if BWIBuildSettings.shared.deviceManagerShowIPAddress {
Button {
isShowLocationEnabled.toggle()
} label: {
Label(showLocationInfo: isShowLocationEnabled)
}
}
if sessionCount > 0 {
@@ -108,7 +110,8 @@ struct UserOtherSessionsToolbar: ToolbarContent {
}
}
} label: {
Image(systemName: "ellipsis")
Image(systemName: "ellipsis.circle")
.foregroundColor(Color(ThemeService.shared().theme.tintColor))
.padding(.horizontal, 4)
.padding(.vertical, 12)
}