From 727bee147fbc9d46e13254f8ac45dad301090381 Mon Sep 17 00:00:00 2001 From: Nik Clayton Date: Mon, 2 Dec 2024 16:50:43 +0100 Subject: [PATCH] change: Register Iconics fonts before use --- app/src/main/java/app/pachli/PachliApplication.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/src/main/java/app/pachli/PachliApplication.kt b/app/src/main/java/app/pachli/PachliApplication.kt index 4a816f15bf..a27c949cb5 100644 --- a/app/src/main/java/app/pachli/PachliApplication.kt +++ b/app/src/main/java/app/pachli/PachliApplication.kt @@ -37,6 +37,8 @@ import app.pachli.util.setAppNightMode import app.pachli.worker.PruneCacheWorker import app.pachli.worker.PruneCachedMediaWorker import app.pachli.worker.PruneLogEntryEntityWorker +import com.mikepenz.iconics.Iconics +import com.mikepenz.iconics.typeface.library.googlematerial.GoogleMaterial import dagger.hilt.android.HiltAndroidApp import de.c1710.filemojicompat_defaults.DefaultEmojiPackList import de.c1710.filemojicompat_ui.helpers.EmojiPackHelper @@ -102,6 +104,8 @@ class PachliApplication : Application() { // init night mode setAppNightMode(sharedPreferencesRepository.appTheme) + Iconics.registerFont(GoogleMaterial) + localeManager.setLocale() createWorkerNotificationChannel(this)