Skip to content

Commit

Permalink
fix: textarea for commit message in settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinzent03 committed Jun 29, 2023
1 parent f37409e commit ea4a7a1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/setting/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ export class ObsidianGitSettingsTab extends PluginSettingTab {
"Available placeholders: {{date}}" +
" (see below), {{hostname}} (see below), {{numFiles}} (number of changed files in the commit) and {{files}} (changed files in commit message)"
)
.addText((text) =>
.addTextArea((text) =>
text
.setPlaceholder("vault backup: {{date}}")
.setValue(plugin.settings.autoCommitMessage)
Expand All @@ -278,7 +278,7 @@ export class ObsidianGitSettingsTab extends PluginSettingTab {
"Available placeholders: {{date}}" +
" (see below), {{hostname}} (see below), {{numFiles}} (number of changed files in the commit) and {{files}} (changed files in commit message)"
)
.addText((text) =>
.addTextArea((text) =>
text
.setPlaceholder("vault backup: {{date}}")
.setValue(
Expand Down

0 comments on commit ea4a7a1

Please sign in to comment.