Lawnchair: Fix icon size and label size reload, implement launcher restart

This commit is contained in:
Kshitij Gupta committed 2021-03-22 19:10:41 +05:30
1 parent 15c5ae0356
commit 480ac2c76b
17 files changed
+207 -46

No files matched your search

@@ -319,13 +319,6 @@ public class InvariantDeviceProfile {
numAllAppsColumns = Math.round(prefs.getFloat(LawnchairPreferences.ALL_APPS_COLUMNS, numAllAppsColumns));
numFolderRows = Math.round(prefs.getFloat(LawnchairPreferences.FOLDER_ROWS, numFolderRows));
numFolderColumns = Math.round(prefs.getFloat(LawnchairPreferences.FOLDER_COLUMNS, numFolderColumns));
// Lawnchair icon and text sizes
iconSize *= prefs.getFloat(LawnchairPreferences.ICON_SIZE_FACTOR, 1f);
iconTextSize *= prefs.getFloat(LawnchairPreferences.TEXT_SIZE_FACTOR, 1f);;
allAppsIconSize *= prefs.getFloat(LawnchairPreferences.ALL_APPS_ICON_SIZE_FACTOR, 1f);
allAppsIconTextSize *= prefs.getFloat(LawnchairPreferences.ALL_APPS_TEXT_SIZE_FACTOR, 1f);
}
public void reInitGrid() {