From facbfe4da5a80bdf4327dfcce571430bbf025b58 Mon Sep 17 00:00:00 2001 From: Brandon Presley Date: Thu, 3 Nov 2022 21:59:00 +1300 Subject: [PATCH] Add noSound to timer add --- TimerPage.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/TimerPage.tsx b/TimerPage.tsx index b07ca36..fb3b830 100644 --- a/TimerPage.tsx +++ b/TimerPage.tsx @@ -33,7 +33,8 @@ export default function TimerPage() { } const add = async () => { - NativeModules.AlarmModule.add(settings.vibrate, settings.sound) + const params = [settings.vibrate, settings.sound, settings.noSound] + NativeModules.AlarmModule.add(...params) } return (