Fix wallpaper transparency, Recents setup guide, and drawer animation
This commit is contained in:
1 parent
2fa7bd745b
commit
216c80252d
14 files changed
+474
-86
No files matched your search
@@ -60,6 +60,7 @@ pub(all) enum Sheet {
|
||||
/// The menu of a drawer app (row in the app list).
|
||||
DrawerApp(Int32)
|
||||
WidgetPicker
|
||||
RecentsSetup
|
||||
}
|
||||
|
||||
///|
|
||||
@@ -110,6 +111,9 @@ pub(all) struct Model {
|
||||
mut query : String
|
||||
mut wquery : String
|
||||
mut drawer : Bool
|
||||
/// The drawer is animating out before detaching.
|
||||
mut drawer_closing : Bool
|
||||
mut drawer_gen : Int32
|
||||
/// The drawer is in "add apps" mode: taps toggle home slots.
|
||||
mut picking : Bool
|
||||
mut sheet : Sheet
|
||||
@@ -165,6 +169,8 @@ pub fn Model::new() -> Model {
|
||||
query: "",
|
||||
wquery: "",
|
||||
drawer: false,
|
||||
drawer_closing: false,
|
||||
drawer_gen: 0,
|
||||
picking: false,
|
||||
sheet: NoSheet,
|
||||
gone: "",
|
||||
@@ -257,6 +263,7 @@ pub(all) enum Msg {
|
||||
WClear
|
||||
OpenDrawer
|
||||
CloseDrawer
|
||||
DrawerClosed(Int32)
|
||||
OpenApp(Int32)
|
||||
OpenFirst
|
||||
OpenHome(Int32)
|
||||
@@ -278,6 +285,9 @@ pub(all) enum Msg {
|
||||
Settings
|
||||
Wallpaper
|
||||
Recents
|
||||
RecentsUnavailable
|
||||
OpenAccessibilitySettings
|
||||
OpenSelfAppInfo
|
||||
CheckUpdates
|
||||
Lift(Int32)
|
||||
Grab(Int32)
|
||||
@@ -301,6 +311,8 @@ pub(all) enum Effect {
|
||||
OpenSettings
|
||||
PickWallpaper
|
||||
OpenRecents
|
||||
OpenAccessibilitySettings
|
||||
OpenSelfAppInfo
|
||||
Haptic
|
||||
/// Fetch apps.json / widgets.json and answer `AppsLoaded` / `WidgetsLoaded`.
|
||||
LoadApps
|
||||
|
||||
Reference in new issue
Block a user