Disable timers if rest time is set to zero - 1.134
This commit is contained in:
parent
0e7920bde9
commit
288ae1ae0c
|
@ -56,7 +56,7 @@ export default function EditSet() {
|
|||
const first = await setRepo.findOne({where: {name: value}})
|
||||
const milliseconds =
|
||||
(first?.minutes ?? 3) * 60 * 1000 + (first?.seconds ?? 0) * 1000
|
||||
NativeModules.AlarmModule.timer(milliseconds)
|
||||
if (milliseconds) NativeModules.AlarmModule.timer(milliseconds)
|
||||
},
|
||||
[settings],
|
||||
)
|
||||
|
|
|
@ -41,8 +41,8 @@ android {
|
|||
missingDimensionStrategy "RNNotifications.reactNativeVersion", "reactNative60"
|
||||
minSdkVersion rootProject.ext.minSdkVersion
|
||||
targetSdkVersion rootProject.ext.targetSdkVersion
|
||||
versionCode 36159
|
||||
versionName "1.133"
|
||||
versionCode 36160
|
||||
versionName "1.134"
|
||||
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
|
||||
|
||||
if (isNewArchitectureEnabled()) {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "massive",
|
||||
"version": "1.133",
|
||||
"version": "1.134",
|
||||
"private": true,
|
||||
"license": "GPL-3.0-only",
|
||||
"scripts": {
|
||||
|
|
Loading…
Reference in New Issue
Block a user