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 e764c30 commit 0dc79d2Copy full SHA for 0dc79d2
src/main.tsx
@@ -8,7 +8,8 @@ import {
8
TFile,
9
MarkdownPostProcessorContext,
10
parseLinktext,
11
- Notice
+ Notice,
12
+ Platform
13
} from 'obsidian';
14
15
import definePdfAnnotation from './definePdfAnnotation';
@@ -58,7 +59,7 @@ export default class AnnotatorPlugin extends Plugin implements IHasAnnotatorSett
58
59
60
async loadResources() {
61
await loadResourcesZip(jszip.loadAsync(stringEncodedResourcesFolder));
- if (this.settings.annotateTvUrl) {
62
+ if (this.settings.annotateTvUrl && Platform.isDesktop) {
63
try {
64
const response = await fetchUrl(this.settings.annotateTvUrl);
65
if (response.ok) {
0 commit comments