Add option for rendering images in description (#2076)

This commit is contained in:
Secozzi
2025-07-30 06:20:43 +02:00
committed by GitHub
parent 4f1faf49f3
commit 2ef8ae11c9
6 changed files with 101 additions and 8 deletions
@@ -34,6 +34,8 @@ class UiPreferences(
fun tabletUiMode() = preferenceStore.getEnum("tablet_ui_mode", TabletUiMode.AUTOMATIC)
fun imagesInDescription() = preferenceStore.getBoolean("pref_render_images_description", true)
companion object {
fun dateFormat(format: String): DateTimeFormatter = when (format) {
"" -> DateTimeFormatter.ofLocalizedDate(FormatStyle.SHORT)