summaryrefslogtreecommitdiff
path: root/src/components/settings
AgeCommit message (Collapse)AuthorFilesLines
2021-09-13Merge branch 'develop' into disable_notif_onlyRiku Isokoski1-1/+1
2021-09-12Merge pull request #617 from ColinKinloch/wake_up_mode_setting_changeJF0021-1/+1
Correct change test for wake up mode setting
2021-09-12Toggle notifications only, keep vibrations.Riku Isokoski1-7/+7
2021-08-28Settings : use enums instead of ints to store colors. Group all PTS settings ↵Jean-François Milants1-20/+26
into a struct. PTS/SettingsPTS : Convert to/from LVGL color and Settings::Color, add functions to reduce code duplication. Adapt SettingPineTimeStyle with the last Screen Interface
2021-08-26Correct change test for wake up mode settingColin Kinloch1-1/+1
2021-07-25Increment settings value, remove old hacky fixKieran Cawthray1-1/+1
2021-07-20Merge remote-tracking branch 'upstream/develop' into pinetimestyle-colorpickerKieran Cawthray1-8/+31
2021-07-14Multiple wakeup sources (#290)Kozova11-8/+31
* Allow multiple wakeup modes at the same time. This commit adds multiple wakeup modes support. It does so by storing them as a uint8_t bitfield enum. It changes the following functions: Since multiple modes can be on now, older version would not cut it: WakeUpMode getWakeupMode() -> std::bitset<3> getWakeUpModes() Where each bit corresponds to a WakeUpMode We still need a way to check whether a specific wakeup mode is on, so: bool isWakeUpModeOn(const WakeUpMode mode) This function was changed to work correctly with the new implementation. setWakeUpMode(WakeupMode mode, bool enable) Previously, systemtask would exit SystemTask::OnTouchEvent() if the wake up mode was None or RaiseWrist, to prevent waking up when a touch was received. However, after enabling using multiple WakeUpModes, this caused a bug where when RaiseWrist was checked with SingleTap or DoubleTap, the tap detection wouldn't work. This commit fixes that bug. Next commit will update the settings WakeUpMode select UI to reflect these changes. Signed-off-by: Kozova1 <mug66kk@gmail.com> * Updated UI to reflect multiple WakeUp sources being available. Signed-off-by: Kozova1 <mug66kk@gmail.com>
2021-07-12Merge remote-tracking branch 'upstream/develop' into pinetimestyle-colorpickerKieran Cawthray2-112/+46
2021-07-11Using littlefs (#438)joaquim.org2-112/+46
* add submodule littlefs * base fs * Save settings using littlefs * Small fixes and suggestions from PR * More small fixes from PR suggestions * Code clean up * Change SpiNorFlash functions to be private in FS
2021-06-24PineTimeStyle color picker add settings integrationKieran Cawthray1-0/+31
2021-05-18Revert "Reset"Kieran Cawthray1-1/+9
This reverts commit 378fa6b4016b65e2d7b128fdc3ce89c4ca779a4d.
2021-05-18ResetKieran Cawthray1-9/+1
2021-04-26Merge branch 'develop' ofJoaquim2-163/+185
https://github.com/JF002/InfiniTime into StepsApp
2021-04-24Changed access modified indentationAvamander1-2/+2
2021-04-24Reformatted all the files according to clang-format styleAvamander2-157/+177
2021-04-20Fix button size and default step goalJoaquim1-1/+1
2021-04-19New Steps appJoaquim1-0/+6
Settings to set the steps goal More detail in Motion app New 42px Font
2021-04-04Big UI and navigation RewriteJoaquim2-12/+185
new navigation add some color to the apps redesign menus new settings menu new quick settings code clean up size reduction by converting navigation images to font and more...
2021-03-06Update from JF comments to PRJoaquim1-2/+0
2021-02-24Multi face support, analog clock, 12/24 configJoaquim2-0/+48