mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-07-28 01:58:11 -07:00
MNTM Settings: Add Skip Sliding Animations option for Lockscreen (#436)
* Add Fast Lock/Unlock The cover animation takes time and blocks input while animating, so add options to skip the animations. * Combine options into "Skip Sliding Animation" * Update changelog * Wording --------- Co-authored-by: WillyJL <me@willyjl.dev>
This commit is contained in:
@@ -23,6 +23,7 @@ MomentumSettings momentum_settings = {
|
||||
.lockscreen_statusbar = true, // ON
|
||||
.lockscreen_prompt = true, // ON
|
||||
.lockscreen_transparent = false, // OFF
|
||||
.lockscreen_skip_animation = false, // OFF
|
||||
.battery_icon = BatteryIconBarPercent, // Bar %
|
||||
.status_icons = true, // ON
|
||||
.bar_borders = true, // ON
|
||||
@@ -96,6 +97,7 @@ static const struct {
|
||||
{setting_bool(lockscreen_statusbar)},
|
||||
{setting_bool(lockscreen_prompt)},
|
||||
{setting_bool(lockscreen_transparent)},
|
||||
{setting_bool(lockscreen_skip_animation)},
|
||||
{setting_enum(battery_icon, BatteryIconCount)},
|
||||
{setting_bool(status_icons)},
|
||||
{setting_bool(bar_borders)},
|
||||
|
||||
@@ -80,6 +80,7 @@ typedef struct {
|
||||
bool lockscreen_statusbar;
|
||||
bool lockscreen_prompt;
|
||||
bool lockscreen_transparent;
|
||||
bool lockscreen_skip_animation;
|
||||
BatteryIcon battery_icon;
|
||||
bool status_icons;
|
||||
bool bar_borders;
|
||||
|
||||
Reference in New Issue
Block a user