fixes in at glance

- closes : #5103
- closes : #5057
- closes : #5066
This commit is contained in:
MrSluffy
2024-12-21 12:12:04 +08:00
parent b31bf4d7b5
commit 491429c70e
2 changed files with 5 additions and 1 deletions
+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.