mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-02-23 04:22:28 +00:00
fixed naming
Renamed font file to be subfonts Signed-off-by: Lance Chant <13349722+lancechant@users.noreply.github.com>
This commit is contained in:
@@ -139,7 +139,8 @@ class MPVLayerRenderer(private val context: Context) : MPVLib.EventObserver {
|
||||
val mpvDir = File(context.getExternalFilesDir(null) ?: context.filesDir, "mpv")
|
||||
//Log.i(TAG, "mpv config dir: $mpvDir")
|
||||
if (!mpvDir.exists()) mpvDir.mkdirs()
|
||||
arrayOf("font.ttf").forEach { fileName ->
|
||||
// This needs to be named `subfont.ttf` else it won't work
|
||||
arrayOf("subfont.ttf").forEach { fileName ->
|
||||
val file = File(mpvDir, fileName)
|
||||
if (file.exists()) return@forEach
|
||||
context.assets
|
||||
|
||||
Reference in New Issue
Block a user