Compare commits

...
1 Commits
Author SHA1 Message Date
aminecmi 7f0ba193ec Fonts are a pain in the a$$.
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
2022-12-05 21:04:32 +01:00
7 changed files with 0 additions and 60 deletions
-3
View File
@@ -79,8 +79,5 @@
android:value="true" />
<meta-data android:name="android.max_aspect" android:value="2.1" />
<meta-data
android:name="preloaded_fonts"
android:resource="@array/preloaded_fonts" />
</application>
</manifest>
@@ -111,17 +111,6 @@ class ArticleFragment : Fragment(), DIAware {
staticBar = appSettingsService.isStaticBarEnabled()
font = appSettingsService.getFont()
if (font.isNotEmpty()) {
resId = requireContext().resources.getIdentifier(font, "font", requireContext().packageName)
typeface = try {
ResourcesCompat.getFont(requireContext(), resId)!!
} catch (e: java.lang.Exception) {
e.sendSilentlyWithAcraWithName("typeface")
// Just to be sure
null
}
}
refreshAlignment()
fab = binding.fab
Internal Server Error - Amine's git
500 Internal Server Error

Gitea Version: 1.28.0+dev-215-g805697089e