Skip to content

Commit

Permalink
Fix the accuracy toggle on android as well
Browse files Browse the repository at this point in the history
Found while testing e-mission/e-mission-phone#542
  • Loading branch information
shankari committed Mar 28, 2019
1 parent 5d143f9 commit 2ee1045
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion www/ui/ionic/js/collect-settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ angular.module('emission.main.control.collection', [])
if (ionic.Platform.isIOS()) {
cch.new_config.accuracy = cch.accuracyOptions["kCLLocationAccuracyBest"];
} else if (ionic.Platform.isAndroid()) {
accuracy = cch.accuracyOptions["PRIORITY_HIGH_ACCURACY"];
cch.new_config.accuracy = cch.accuracyOptions["PRIORITY_HIGH_ACCURACY"];
}
} else {
if (ionic.Platform.isIOS()) {
Expand Down

0 comments on commit 2ee1045

Please sign in to comment.