Skip to content

Commit

Permalink
Merge branch 'master' of github.com:OpenTails/tail_app
Browse files Browse the repository at this point in the history
  • Loading branch information
Codel1417 committed Jul 23, 2024
2 parents 51c5ab1 + ec9947e commit dd4705a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion android/gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ android.nonFinalResIds=false
kotlin.jvm.target.validation.mode=IGNORE
org.gradle.parallel=true
org.gradle.caching=true
android.enableR8.fullMode=true
android.enableR8.fullMode=false
3 changes: 2 additions & 1 deletion lib/Backend/sensors.dart
Original file line number Diff line number Diff line change
Expand Up @@ -546,8 +546,9 @@ class RandomTriggerDefinition extends TriggerDefinition {

@override
Future<void> onEnable() async {
randomTimer = Timer(Duration(seconds: Random().nextInt(240)), () {
randomTimer = Timer(Duration(seconds: Random().nextInt(120)), () {
sendCommands("Action", ref);
onEnable();
});
}
}
Expand Down

0 comments on commit dd4705a

Please sign in to comment.