Remove needless double negation in StartPlan

We used to store the numbers as sqlite presented
the booleans, but now TypeOrm automatically converts
it into bools for us so we don't need to.
This commit is contained in:
Brandon Presley 2022-11-02 12:43:01 +13:00
parent 2a868cc9ee
commit 3bf2193d46
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ export default function StartPlan() {
if (!settings.alarm) return
const milliseconds = Number(minutes) * 60 * 1000 + Number(seconds) * 1000
const {vibrate, sound, noSound} = settings
const args = [milliseconds, !!vibrate, sound, !!noSound]
const args = [milliseconds, vibrate, sound, noSound]
NativeModules.AlarmModule.timer(...args)
}