Skip to content

Commit

Permalink
Trim on boot and on plugged values
Browse files Browse the repository at this point in the history
  • Loading branch information
MatteCarra committed Mar 9, 2019
1 parent 984e29e commit 89fb0db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/java/mattecarra/accapp/utils/AccUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ object AccUtils {
voltControl,
RESET_UNPLUGGED_CONFIG_REGEXP.find(config)?.destructured?.component1() == "true",
ON_BOOT_EXIT.find(config)?.destructured?.component1() == "true",
ON_BOOT.find(config)?.destructured?.component1(),
ON_PLUGGED.find(config)?.destructured?.component1(),
ON_BOOT.find(config)?.destructured?.component1()?.trim(),
ON_PLUGGED.find(config)?.destructured?.component1()?.trim(),
getCurrentChargingSwitch()
)
}
Expand Down

0 comments on commit 89fb0db

Please sign in to comment.