Improve settings

This commit is contained in:
Andras Schmelczer 2025-03-22 20:24:19 +00:00
parent 3dbeb54c54
commit 407c56040e
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C

View file

@ -292,7 +292,7 @@ export class SyncSettingsTab extends PluginSettingTab {
)
.addSlider((slider) =>
slider
.setLimits(0, 32, 1)
.setLimits(1, 64, 1)
.setDynamicTooltip()
.setInstant(false)
.setValue(this.syncClient.getSettings().maxFileSizeMB)
@ -304,7 +304,7 @@ export class SyncSettingsTab extends PluginSettingTab {
new Setting(containerEl)
.setName("Danger zone")
.setDesc(
"How many concurrent sync operations to run. Setting this value higher may increase the overall performance, however, it will require more memory as well. If you notice frequent crashes, especially on mobile, set this to 1."
"Delete the local metadata database while leaving the local and remote files intact."
)
.addButton((button) =>
button.setButtonText("Reset sync state").onClick(async () => {