Audio player is an experiment

This commit is contained in:
M66B 2024-01-23 09:12:08 +01:00
parent 1089513888
commit 3dce7d2533
2 changed files with 8 additions and 0 deletions

6
FAQ.md
View File

@ -4003,6 +4003,12 @@ a toolbar to perform operations (align text, insert list, indent text, insert bl
The subject of a received message can be edited, also on the email server, via the horizontal three-dots button just above the message text near the left side of the screen.
<br />
*Embedded audio player (1.2052+)*
Allow enabling a minimal audio player as thumbnail for audio files in the display-settings tab page.
<br>
<a name="faq126"></a>

View File

@ -1683,6 +1683,8 @@ public class FragmentOptionsDisplay extends FragmentBase implements SharedPrefer
swPdfPreview.setEnabled(swThumbnails.isChecked());
swAudioPreview.setChecked(prefs.getBoolean("audio_preview", false));
swAudioPreview.setEnabled(swThumbnails.isChecked());
swAudioPreview.setVisibility(prefs.getBoolean("experiments", false)
? View.VISIBLE : View.GONE);
swListCount.setChecked(prefs.getBoolean("list_count", false));
swBundledFonts.setChecked(prefs.getBoolean("bundled_fonts", true));