mirror of
https://github.com/kissyjpf/rtm-sync.git
synced 2026-07-22 07:02:51 +00:00
Merge pull request #4 from kissyjpf/feature/v1.3.3-auth-status
v1.3.3: Show authorized status in settings
This commit is contained in:
commit
2a17d13ecd
5 changed files with 13 additions and 8 deletions
8
main.js
8
main.js
File diff suppressed because one or more lines are too long
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "rtm-sync",
|
||||
"name": "RTM Sync",
|
||||
"version": "1.3.2",
|
||||
"version": "1.3.3",
|
||||
"minAppVersion": "0.15.0",
|
||||
"description": "Sync Remember The Milk Tasks.",
|
||||
"author": "Osamu Kishiyama",
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "rtm-sync",
|
||||
"version": "1.3.2",
|
||||
"version": "1.3.3",
|
||||
"description": "Sync Remember The Milk Tasks with Obsidian",
|
||||
"main": "main.js",
|
||||
"type": "module",
|
||||
|
|
|
|||
|
|
@ -570,7 +570,11 @@ class RtmSettingTab extends PluginSettingTab {
|
|||
|
||||
new Setting(containerEl).setName('API Key').addText(text => text.setValue(this.plugin.settings.apiKey).onChange(async (v) => { this.plugin.settings.apiKey = v; await this.plugin.saveSettings(); }));
|
||||
new Setting(containerEl).setName('Shared Secret').addText(text => text.setValue(this.plugin.settings.sharedSecret).onChange(async (v) => { this.plugin.settings.sharedSecret = v; await this.plugin.saveSettings(); }));
|
||||
new Setting(containerEl).setName('Auth').addButton(b => b.setButtonText('Start Auth').onClick(async () => await this.startAuthProcess()));
|
||||
const authSetting = new Setting(containerEl).setName('Auth');
|
||||
if (this.plugin.settings.authToken) {
|
||||
authSetting.setDesc('✅ Authorized');
|
||||
}
|
||||
authSetting.addButton(b => b.setButtonText('Start Auth').onClick(async () => await this.startAuthProcess()));
|
||||
|
||||
new Setting(containerEl)
|
||||
.setName('Default Due Date')
|
||||
|
|
|
|||
|
|
@ -3,5 +3,6 @@
|
|||
"1.2.0": "0.15.0",
|
||||
"1.3.0": "0.15.0",
|
||||
"1.3.1": "0.15.0",
|
||||
"1.3.2": "0.15.0"
|
||||
"1.3.2": "0.15.0",
|
||||
"1.3.3": "0.15.0"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue