removed runtime check for WRITE_EXTERNAL_STORAGE at 'take a phot' time which is not required for taking a photo

This commit is contained in:
gavine99
2025-01-29 14:28:52 +11:00
parent 693533a307
commit a4b0db56ca
@@ -528,12 +528,8 @@ class ComposeViewModel @Inject constructor(
view.cameraIntent
.autoDisposable(view.scope())
.subscribe {
if (permissionManager.hasStorage()) {
newState { copy(attaching = false) }
view.requestCamera()
} else {
view.requestStoragePermission()
}
newState { copy(attaching = false) }
view.requestCamera()
}
// pick a photo (specifically) from image provider apps