mirror of
https://github.com/Dimillian/IceCubesApp.git
synced 2024-12-25 14:32:20 +01:00
Disable take photo option on macOS
This commit is contained in:
parent
9ba18a8ca3
commit
573497ed52
@ -35,10 +35,12 @@ struct StatusEditorAccessoryView: View {
|
|||||||
} label: {
|
} label: {
|
||||||
Label("status.editor.photo-library", systemImage: "photo")
|
Label("status.editor.photo-library", systemImage: "photo")
|
||||||
}
|
}
|
||||||
Button {
|
if !ProcessInfo.processInfo.isiOSAppOnMac {
|
||||||
isCameraPickerPresented = true
|
Button {
|
||||||
} label: {
|
isCameraPickerPresented = true
|
||||||
Label("status.editor.camera-picker", systemImage: "camera")
|
} label: {
|
||||||
|
Label("status.editor.camera-picker", systemImage: "camera")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Button {
|
Button {
|
||||||
isFileImporterPresented = true
|
isFileImporterPresented = true
|
||||||
|
Loading…
Reference in New Issue
Block a user