Skip to content

Commit 91f9aec

Browse files
format
1 parent 42732a9 commit 91f9aec

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/pages/themeSetting/themeSetting.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import "./themeSetting.scss";
22
import Page from "components/page";
33
import searchBar from "components/searchbar";
44
import TabView from "components/tabView";
5+
import alert from "dialogs/alert";
56
import Ref from "html-tag-js/ref";
67
import actionStack from "lib/actionStack";
78
import removeAds from "lib/removeAds";
@@ -10,7 +11,6 @@ import CustomTheme from "pages/customTheme";
1011
import ThemeBuilder from "theme/builder";
1112
import themes from "theme/list";
1213
import helpers from "utils/helpers";
13-
import alert from "dialogs/alert";
1414

1515
export default function () {
1616
const $page = Page(strings.theme.capitalize());
@@ -195,7 +195,9 @@ console.log(message);`);
195195
*/
196196
function setEditorTheme({ caption, theme }) {
197197
if (appSettings.value.appTheme.toLowerCase() === "system") {
198-
alert("Info", "App theme is set to 'System'. Changing the editor theme will not affect the editor appearance.",
198+
alert(
199+
"Info",
200+
"App theme is set to 'System'. Changing the editor theme will not affect the editor appearance.",
199201
);
200202
return;
201203
}

0 commit comments

Comments
 (0)