diff --git a/app/.gitignore b/app/.gitignore index a2def884f0acce37a2b96d12ca9d5782858e3090..b32e2630c36e555356df46c1005cc9be0cdc1add 100755 --- a/app/.gitignore +++ b/app/.gitignore @@ -1,2 +1,3 @@ /build google-services.json +api*/ diff --git a/app/src/main/java/foundation/e/blisslauncher/features/launcher/LauncherActivity.java b/app/src/main/java/foundation/e/blisslauncher/features/launcher/LauncherActivity.java index 8e811cce0b1f42d18f200f1846c3ba76a2388dcb..13fab3b4d5685e340068995978bcbf15e3b768e8 100755 --- a/app/src/main/java/foundation/e/blisslauncher/features/launcher/LauncherActivity.java +++ b/app/src/main/java/foundation/e/blisslauncher/features/launcher/LauncherActivity.java @@ -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()); diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index 2f7d4343ec6a772bdf2dfa798c5305aa81efd778..e03429b426c4d066e2c042861f793be21a652ec0 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -148,4 +148,4 @@ Per poter vedere il numero delle notifiche sulle icone delle App, devi concedere al launcher l\'accesso alle notifiche. Permesso richiesto 15 minuti - \ No newline at end of file +