Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aa3aecb074 | ||
|
|
9128f9ed5b |
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "obsidian-remotely-save",
|
"id": "obsidian-remotely-save",
|
||||||
"name": "Remotely Save",
|
"name": "Remotely Save",
|
||||||
"version": "0.1.5",
|
"version": "0.1.6",
|
||||||
"minAppVersion": "0.12.15",
|
"minAppVersion": "0.12.15",
|
||||||
"description": "Yet another unofficial plugin allowing users to sync notes between local device and the cloud service.",
|
"description": "Yet another unofficial plugin allowing users to sync notes between local device and the cloud service.",
|
||||||
"author": "fyears",
|
"author": "fyears",
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "obsidian-remotely-save",
|
"name": "obsidian-remotely-save",
|
||||||
"version": "0.1.5",
|
"version": "0.1.6",
|
||||||
"description": "This is yet another sync plugin for Obsidian app.",
|
"description": "This is yet another sync plugin for Obsidian app.",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "webpack --mode development --watch",
|
"dev": "webpack --mode development --watch",
|
||||||
|
|||||||
+12
-1
@@ -296,8 +296,18 @@ class RemotelySaveSettingTab extends PluginSettingTab {
|
|||||||
// we need to create the div in advance of s3Div and webdavDiv
|
// we need to create the div in advance of s3Div and webdavDiv
|
||||||
const serviceChooserDiv = generalDiv.createEl("div");
|
const serviceChooserDiv = generalDiv.createEl("div");
|
||||||
|
|
||||||
|
let clickChooserTimes = 0;
|
||||||
serviceChooserDiv.onClickEvent((x) => {
|
serviceChooserDiv.onClickEvent((x) => {
|
||||||
if (x.detail === 5) {
|
if (Platform.isIosApp) {
|
||||||
|
// downgrade the experiment
|
||||||
|
// because iOS doesn't support x.detail
|
||||||
|
clickChooserTimes += 1;
|
||||||
|
setTimeout(function () {
|
||||||
|
clickChooserTimes = 0;
|
||||||
|
}, 2000);
|
||||||
|
}
|
||||||
|
|
||||||
|
if ((Platform.isIosApp && clickChooserTimes === 5) || x.detail === 5) {
|
||||||
if (this.plugin.settings.serviceType === "webdav") {
|
if (this.plugin.settings.serviceType === "webdav") {
|
||||||
new Notice(
|
new Notice(
|
||||||
"You've enabled hidden unstable experimental webdav support before. Nothing changes."
|
"You've enabled hidden unstable experimental webdav support before. Nothing changes."
|
||||||
@@ -316,6 +326,7 @@ class RemotelySaveSettingTab extends PluginSettingTab {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
x.preventDefault();
|
||||||
});
|
});
|
||||||
|
|
||||||
const s3Div = containerEl.createEl("div", { cls: "s3-hide" });
|
const s3Div = containerEl.createEl("div", { cls: "s3-hide" });
|
||||||
|
|||||||
+1
-1
@@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"0.1.5": "0.12.15"
|
"0.1.6": "0.12.15"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user