fixes in at glance

- closes : #5103
- closes : #5057
- closes : #5066
This commit is contained in:
MrSluffy committed 2024-12-21 12:12:04 +08:00
1 parent b31bf4d7b5
commit 491429c70e
2 files changed
+5 -1

No files matched your search

+4
View File
@@ -668,6 +668,10 @@ public class Workspace<T extends View & PageIndicator> extends PagedView<T>
* Initializes and binds the first page
*/
public void bindAndInitFirstWorkspaceScreen() {
if (!FeatureFlags.topQsbOnFirstScreenEnabled(mLauncher)) {
return;
}
// Add the first page
CellLayout firstPage = insertNewWorkspaceScreen(Workspace.FIRST_SCREEN_ID, getChildCount());
// Always add a QSB on the first screen.