mirror of
https://github.com/silvanocerza/github-gitless-sync.git
synced 2026-07-22 05:41:36 +00:00
Fix mobile check
This commit is contained in:
parent
6fe3d63f08
commit
b4010b59e4
1 changed files with 2 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { EventRef, Plugin, FileView } from "obsidian";
|
||||
import { EventRef, Plugin, Platform } from "obsidian";
|
||||
import { GitHubSyncSettings, DEFAULT_SETTINGS } from "./settings/settings";
|
||||
import GitHubSyncSettingsTab from "./settings/tab";
|
||||
import SyncManager from "./sync-manager";
|
||||
|
|
@ -17,7 +17,7 @@ export default class GitHubSyncPlugin extends Plugin {
|
|||
vaultModifyListener: EventRef | null = null;
|
||||
|
||||
async onUserEnable() {
|
||||
if (this.app.isMobile) {
|
||||
if (Platform.isMobile) {
|
||||
// TODO: Implement onboarding for mobile
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue