refactor: Fix macOS standalone application
This commit is contained in:
@@ -145,10 +145,7 @@
|
||||
message: String(localized: "Please enable camera access in Settings to scan QR codes.")
|
||||
)
|
||||
default:
|
||||
alert = AlertState(
|
||||
title: String(localized: "Scanner Error"),
|
||||
message: error.localizedDescription
|
||||
)
|
||||
alert = AlertState(error: error)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user