From ed87f0a99b063fd39d29c6516ad9cd8c41c7cdda Mon Sep 17 00:00:00 2001 From: Nik Clayton Date: Mon, 2 Dec 2024 17:09:08 +0100 Subject: [PATCH] change: Register Iconics fonts before use (#1151) --- 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 4a816f15b..a27c949cb 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)