Skip to content

Commit

Permalink
change: Register Iconics fonts before use (#1151)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikclayton authored Dec 2, 2024
1 parent 5a86143 commit ed87f0a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/src/main/java/app/pachli/PachliApplication.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -102,6 +104,8 @@ class PachliApplication : Application() {
// init night mode
setAppNightMode(sharedPreferencesRepository.appTheme)

Iconics.registerFont(GoogleMaterial)

localeManager.setLocale()

createWorkerNotificationChannel(this)
Expand Down

0 comments on commit ed87f0a

Please sign in to comment.