Skip to content

Commit a54155d

Browse files
committed
updating commons
1 parent 66c8b21 commit a54155d

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

app/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ android {
6363
}
6464

6565
dependencies {
66-
implementation 'com.github.SimpleMobileTools:Simple-Commons:9f0c466018'
66+
implementation 'com.github.SimpleMobileTools:Simple-Commons:dfe84c0ee2'
6767
implementation 'org.greenrobot:eventbus:3.3.1'
6868
implementation 'com.github.tibbi:IndicatorFastScroll:4524cd0b61'
6969
implementation 'com.github.tibbi:android-smsmms:33fcaf94d9'

app/src/main/kotlin/com/simplemobiletools/smsmessenger/activities/MainActivity.kt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import android.text.TextUtils
1616
import android.widget.Toast
1717
import androidx.coordinatorlayout.widget.CoordinatorLayout
1818
import com.simplemobiletools.commons.dialogs.FilePickerDialog
19+
import com.simplemobiletools.commons.dialogs.PermissionRequiredDialog
1920
import com.simplemobiletools.commons.extensions.*
2021
import com.simplemobiletools.commons.helpers.*
2122
import com.simplemobiletools.commons.models.FAQItem
@@ -213,7 +214,7 @@ class MainActivity : SimpleActivity() {
213214
handlePermission(PERMISSION_READ_CONTACTS) {
214215
handleNotificationPermission { granted ->
215216
if (!granted) {
216-
toast(R.string.no_post_notifications_permissions)
217+
PermissionRequiredDialog(this, R.string.allow_notifications_incoming_messages)
217218
}
218219
}
219220

0 commit comments

Comments
 (0)