feat(options/apperance): hide layout orientation section

This commit is contained in:
Elian Doran 2025-02-27 19:31:25 +02:00
parent a615b473a7
commit 06a439e95d
No known key found for this signature in database

View File

@ -67,6 +67,9 @@ export default class ThemeOptions extends OptionsWidget {
utils.reloadFrontendApp("layout orientation change");
});
const $layoutOrientationSection = $(this.$widget[0]);
$layoutOrientationSection.toggleClass("hidden-ext", utils.isMobile());
this.$themeSelect.on("change", async () => {
const newTheme = this.$themeSelect.val();