We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fe3d63 commit b4010b5Copy full SHA for b4010b5
src/main.ts
@@ -1,4 +1,4 @@
1
-import { EventRef, Plugin, FileView } from "obsidian";
+import { EventRef, Plugin, Platform } from "obsidian";
2
import { GitHubSyncSettings, DEFAULT_SETTINGS } from "./settings/settings";
3
import GitHubSyncSettingsTab from "./settings/tab";
4
import SyncManager from "./sync-manager";
@@ -17,7 +17,7 @@ export default class GitHubSyncPlugin extends Plugin {
17
vaultModifyListener: EventRef | null = null;
18
19
async onUserEnable() {
20
- if (this.app.isMobile) {
+ if (Platform.isMobile) {
21
// TODO: Implement onboarding for mobile
22
return;
23
}
0 commit comments