fix: Temporarily fix reloadIcons

Signed-off-by: Pun Butrach <pun.butrach@gmail.com>
This commit is contained in:
Pun Butrach
2026-03-20 22:12:33 +07:00
parent fc33fd67a1
commit 2fd3987d54
@@ -20,6 +20,7 @@ import android.content.Context
import app.lawnchair.LawnchairLauncher
import com.android.launcher3.InvariantDeviceProfile
import com.android.launcher3.LauncherAppState
import com.android.launcher3.graphics.ThemeManager
import com.android.launcher3.util.Executors
import com.android.quickstep.TouchInteractionService
import com.android.quickstep.util.TISBindHelper
@@ -51,6 +52,7 @@ class ReloadHelper(private val context: Context) {
fun reloadIcons() {
Executors.MODEL_EXECUTOR.execute {
LauncherAppState.INSTANCE.get(context).iconCache.clearMemoryCache()
LauncherAppState.INSTANCE.get(context).model.reloadIfActive()
}
}