mirror of
https://github.com/SimpleMobileTools/Simple-Clock.git
synced 2025-02-13 02:10:40 +01:00
reformatting
This commit is contained in:
parent
bcd6b1a934
commit
3a7118f30d
@ -14,7 +14,9 @@ class DismissAlarmReceiver: BroadcastReceiver() {
|
|||||||
override fun onReceive(context: Context, intent: Intent) {
|
override fun onReceive(context: Context, intent: Intent) {
|
||||||
val alarmId = intent.getIntExtra(ALARM_ID, -1)
|
val alarmId = intent.getIntExtra(ALARM_ID, -1)
|
||||||
val notificationId = intent.getIntExtra(NOTIFICATION_ID, -1)
|
val notificationId = intent.getIntExtra(NOTIFICATION_ID, -1)
|
||||||
if (alarmId == -1) return
|
if (alarmId == -1) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
context.hideNotification(notificationId)
|
context.hideNotification(notificationId)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user