From 3a7118f30dcc9f43a4d1b25dd18d457a35d48435 Mon Sep 17 00:00:00 2001 From: Rawlin C Date: Mon, 3 Jul 2023 15:22:41 +0530 Subject: [PATCH] reformatting --- .../simplemobiletools/clock/receivers/DismissAlarmReceiver.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/clock/receivers/DismissAlarmReceiver.kt b/app/src/main/kotlin/com/simplemobiletools/clock/receivers/DismissAlarmReceiver.kt index ead1c86c..8593f82c 100644 --- a/app/src/main/kotlin/com/simplemobiletools/clock/receivers/DismissAlarmReceiver.kt +++ b/app/src/main/kotlin/com/simplemobiletools/clock/receivers/DismissAlarmReceiver.kt @@ -14,7 +14,9 @@ class DismissAlarmReceiver: BroadcastReceiver() { override fun onReceive(context: Context, intent: Intent) { val alarmId = intent.getIntExtra(ALARM_ID, -1) val notificationId = intent.getIntExtra(NOTIFICATION_ID, -1) - if (alarmId == -1) return + if (alarmId == -1) { + return + } context.hideNotification(notificationId)