make the new code a bit more readable

This commit is contained in:
Tibor Kaputa 2022-09-13 11:21:43 +02:00 committed by GitHub
parent 74cc5f99b1
commit 48421d6891
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -159,8 +159,11 @@ class MainActivity : SimpleActivity() {
if (it) {
handlePermission(PERMISSION_READ_CONTACTS) {
handleNotificationPermission { granted ->
if (!granted) toast(R.string.no_post_notifications_permissions)
if (!granted) {
toast(R.string.no_post_notifications_permissions)
}
}
initMessenger()
bus = EventBus.getDefault()
try {