feat(options/apperance): hide layout orientation section

pull/1307/head
Elian Doran 2025-02-27 19:31:25 +07:00
parent a615b473a7
commit 06a439e95d
No known key found for this signature in database
1 changed files with 3 additions and 0 deletions

@ -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();