From 2ce52b94bd1223dcfdf6c19a3eb223cde9f687a7 Mon Sep 17 00:00:00 2001 From: Agnieszka C <85929121+Aga-C@users.noreply.github.com> Date: Sat, 29 Jan 2022 09:32:13 +0100 Subject: [PATCH] Added missing permission toast (#84) --- .../simplemobiletools/voicerecorder/activities/MainActivity.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/kotlin/com/simplemobiletools/voicerecorder/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/voicerecorder/activities/MainActivity.kt index 1395b99..171c672 100644 --- a/app/src/main/kotlin/com/simplemobiletools/voicerecorder/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/voicerecorder/activities/MainActivity.kt @@ -31,6 +31,7 @@ class MainActivity : SimpleActivity() { if (it) { tryInitVoiceRecorder() } else { + toast(R.string.no_audio_permissions) finish() } }