mirror of
https://github.com/zadam/trilium.git
synced 2026-07-28 18:11:03 +02:00
chore(client): address requested changes
This commit is contained in:
@@ -30,7 +30,7 @@ export function isExperimentalFeatureEnabled(featureId: ExperimentalFeatureId):
|
||||
|
||||
export function getEnabledExperimentalFeatureIds() {
|
||||
const values = [ ...getEnabledFeatures().values() ];
|
||||
if (options.is("newLayout")) {
|
||||
if (isMobile() || options.is("newLayout")) {
|
||||
values.push("new-layout");
|
||||
}
|
||||
return values;
|
||||
|
||||
@@ -14,7 +14,7 @@ import { t } from "../../services/i18n";
|
||||
import protected_session from "../../services/protected_session";
|
||||
import server from "../../services/server";
|
||||
import toast from "../../services/toast";
|
||||
import { isElectron as getIsElectron, isMac as getIsMac, isMobile } from "../../services/utils";
|
||||
import { isElectron as getIsElectron, isMac as getIsMac } from "../../services/utils";
|
||||
import ws from "../../services/ws";
|
||||
import ClosePaneButton from "../buttons/close_pane_button";
|
||||
import CreatePaneButton from "../buttons/create_pane_button";
|
||||
|
||||
Reference in New Issue
Block a user