Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 003847f5 authored by Yash Garg's avatar Yash Garg 💬
Browse files

fix: close folder if forceReload is called

parent 87473c66
Loading
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -3325,6 +3325,14 @@ public class LauncherActivity extends AppCompatActivity
    }

    public void forceReload() {
        /**
         * Return to homescreen if [forceReload] is called to prevent the icons from
         * applying wrong dimensions
         */
        if (mFolderWindowContainer.getVisibility() == View.VISIBLE) {
            returnToHomeScreen();
        }

        allAppsDisplayed = false;
        BlissLauncher.getApplication(this).getAppProvider().getAppsRepository()
                .updateAppsRelay(Collections.emptyList());