mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-28 04:25:18 +00:00
Fixed missing "ifNecessary" permission request flag.
This commit is contained in:
parent
e352869aeb
commit
96b252c8da
@ -256,6 +256,7 @@ class SettingsActivity : PassphraseRequiredActionBarActivity() {
|
||||
// Ask for an optional camera permission.
|
||||
Permissions.with(this)
|
||||
.request(Manifest.permission.CAMERA)
|
||||
.ifNecessary()
|
||||
.onAnyResult {
|
||||
tempFile = AvatarSelection.startAvatarSelection(this, false, true)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user