mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-11-26 10:11:00 +00:00
Disable take photo option on macOS
This commit is contained in:
parent
9ba18a8ca3
commit
573497ed52
1 changed files with 6 additions and 4 deletions
|
@ -35,10 +35,12 @@ struct StatusEditorAccessoryView: View {
|
|||
} label: {
|
||||
Label("status.editor.photo-library", systemImage: "photo")
|
||||
}
|
||||
Button {
|
||||
isCameraPickerPresented = true
|
||||
} label: {
|
||||
Label("status.editor.camera-picker", systemImage: "camera")
|
||||
if !ProcessInfo.processInfo.isiOSAppOnMac {
|
||||
Button {
|
||||
isCameraPickerPresented = true
|
||||
} label: {
|
||||
Label("status.editor.camera-picker", systemImage: "camera")
|
||||
}
|
||||
}
|
||||
Button {
|
||||
isFileImporterPresented = true
|
||||
|
|
Loading…
Reference in a new issue