Open pogman-code opened 3 months ago
Please report it in smart spacer repo, lawnchair does not control the smart spacer target other than displaying it
Please report it in smart spacer repo, lawnchair does not control the smart spacer target other than displaying it
Technically it does, although it's currently hard coded to 5 pages as it's using the View which is designed to be drop in and not be able to override that: https://github.com/KieronQuinn/Smartspacer/blob/962beac6efba350a594eb11bef306e1a11fa4d27/sdk-client/src/main/java/com/kieronquinn/app/smartspacer/sdk/client/views/BcSmartspaceView.kt#L44
If I were to add an override option, Lawnchair would need to add a UI element to configure that. Alternatively, you could just use the override to set it to MAX_INT, which is what the unlimited option would do anyway.
What do you think?
I've just released 1.0.11 of the client SDK, which now exposes the SmartspaceConfig for BcSmartspaceView.
If you wish to just disable the limit, simply override config
in SmartspacerView:
override val config = SmartspaceConfig(Int.MAX_VALUE, UiSurface.HOMESCREEN, context.packageName)
If you wish to add limit disabling as an option, you'll need to add further code however.
Describe the bug
If Smartspacer has more than 5 target, only the first 5 are show in the "At a Glance" widget.
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
All Smartspacer targets should be show in "At a Glance" widget.
Screenshots
No response
Device information
Additional context
No response