diff --git a/src/org/thoughtcrime/securesms/loki/activities/SettingsActivity.kt b/src/org/thoughtcrime/securesms/loki/activities/SettingsActivity.kt index 45092b0c06..c61ddc94a3 100644 --- a/src/org/thoughtcrime/securesms/loki/activities/SettingsActivity.kt +++ b/src/org/thoughtcrime/securesms/loki/activities/SettingsActivity.kt @@ -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) }