Fix #1885 blank options on profile page on macos (#1906)

This commit is contained in:
Ghulam Mustafa 2024-01-19 17:48:20 +01:00 committed by GitHub
parent ebdd5b9feb
commit 328ee2d090
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -28,7 +28,9 @@ public struct AccountDetailContextMenu: View {
Label("account.action.message", systemImage: "tray.full")
}
Divider()
#if !targetEnvironment(macCatalyst)
Divider()
#endif
if viewModel.relationship?.blocking == true {
Button {
@ -143,7 +145,9 @@ public struct AccountDetailContextMenu: View {
}
}
Divider()
#if !targetEnvironment(macCatalyst)
Divider()
#endif
}
if let lang = preferences.serverPreferences?.postLanguage ?? Locale.current.language.languageCode?.identifier {
@ -173,7 +177,9 @@ public struct AccountDetailContextMenu: View {
}
}
#if !targetEnvironment(macCatalyst)
Divider()
#endif
}
}
}