Add an icon size setting (#3)
Launcher / test (push) Successful in 1m59s
Launcher / apk (push) Successful in 38s

This commit was merged in pull request #3.
This commit is contained in:
nandi committed 2026-11-24 22:43:04 +00:00
1 parent 3070db4fb4
commit 472a48f4bd
22 files changed
+901 -51

No files matched your search

+14 -1
View File
@@ -84,6 +84,8 @@ pub(all) enum Effect {
LoadWidgets
QueryLimits(Int32)
SaveHome(String)
SaveIconSize(Int32)
LogError(String)
SaveLastCheck(Int64)
Delay(Int32, Msg)
HoldTimer(Int32, Int32)
@@ -123,6 +125,12 @@ pub(all) struct Model {
mut grid_left : Double
mut grid_top : Double
mut col_w : Double
mut icon_pct : Int32
mut icon_error : String
mut vw : Int32
mut grid_w : Double
mut avail_h : Double
mut drawer_cols : Int32
mut query : String
mut wquery : String
mut drawer : Bool
@@ -153,6 +161,7 @@ pub(all) struct Model {
mut gesture : @gesture.State
}
pub fn Model::app_row(Self, String) -> Int32
pub fn Model::cell_h(Self) -> Int32
pub fn Model::drawer_open(Self) -> Bool
pub fn Model::first_match(Self) -> Int32
pub fn Model::first_widget_match(Self) -> Int32
@@ -166,7 +175,7 @@ pub fn Model::widget_matches(Self, Int32) -> Bool
#derive(Eq, @debug.Debug)
pub(all) enum Msg {
Restore(saved~ : String?, legacy~ : String?)
Restore(saved~ : String?, legacy~ : String?, icon_size~ : String?)
Started(now~ : Int64, last_check~ : Int64, declined~ : Int32, installed~ : Int32)
Measured(vw~ : Int32, vh~ : Int32, grid_left~ : Double, grid_top~ : Double, grid_w~ : Double, bottom_pad~ : Double, scroll_y~ : Double)
AppsLoaded(String?)
@@ -209,6 +218,9 @@ pub(all) enum Msg {
MoveEarlier(Int32)
InfoOf(Int32)
Settings
IconSizeMenu
SetIconSize(String)
IconPreset(Int32)
Wallpaper
Recents
RecentsUnavailable
@@ -249,6 +261,7 @@ pub(all) enum Sheet {
DrawerApp(Int32)
WidgetPicker
RecentsSetup
IconSize
}
pub(all) struct WidgetInfo {