Fixup reboot after install variables

* Create correctly named data manager variable 'tw_install_reboot'
* Make configurable through Settings
* Remove closing tag space in theme files (not personal preference,
  but should match surrounding code style)
* Fix the "two presses needed to enable" issue for the checkbox on the
  install screen

Change-Id: I0ceb60b4888a672e2f0ecb5672b03cc86615621a
This commit is contained in:
Matt Mower
2016-04-25 23:06:53 -05:00
committed by Ethan Yonker
parent 9a2a20503c
commit 8dc25b7984
5 changed files with 17 additions and 8 deletions

View File

@@ -676,7 +676,7 @@ void DataManager::SetDefaultValues()
mConst.SetValue(TW_MIN_SYSTEM_VAR, TW_MIN_SYSTEM_SIZE);
mData.SetValue(TW_BACKUP_NAME, "(Auto Generate)");
mPersist.SetValue(TW_REBOOT_AFTER_FLASH_VAR, "0");
mPersist.SetValue(TW_INSTALL_REBOOT_VAR, "0");
mPersist.SetValue(TW_SIGNED_ZIP_VERIFY_VAR, "0");
mPersist.SetValue(TW_FORCE_MD5_CHECK_VAR, "0");
mPersist.SetValue(TW_DISABLE_FREE_SPACE_VAR, "0");