Send 00:00 at end of alarm event

This commit is contained in:
Brandon Presley 2022-11-10 15:15:14 +13:00
parent e6d5e928a9
commit 60fe324e06
1 changed files with 4 additions and 1 deletions

View File

@ -211,7 +211,10 @@ class AlarmModule constructor(context: ReactApplicationContext?) :
context.startService(alarmIntent)
reactApplicationContext
.getJSModule(DeviceEventManagerModule.RCTDeviceEventEmitter::class.java)
.emit("finish", Arguments.createMap())
.emit("finish", Arguments.createMap().apply {
putString("minutes", "00")
putString("seconds", "00")
})
}
}
}