Skip to content

Commit

Permalink
fix: hide line authoring settings on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinzent03 committed May 31, 2023
1 parent 5076c37 commit c135c0b
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/setting/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -402,10 +402,12 @@ export class ObsidianGitSettingsTab extends PluginSettingTab {
})
);

containerEl.createEl("br");
containerEl.createEl("h3", { text: "Line author information" });
if (plugin.gitManager instanceof SimpleGit) {
containerEl.createEl("br");
containerEl.createEl("h3", { text: "Line author information" });

this.addLineAuthorInfoSettings();
this.addLineAuthorInfoSettings();
}
}

containerEl.createEl("br");
Expand Down

0 comments on commit c135c0b

Please sign in to comment.