fix(ui): rename 'No Flood' toggle to 'Keep path'

'No Flood' was confusing next to the 'Reset to FLOOD' button.
'Keep path' better describes the behavior: don't auto-reset
the path to FLOOD after failed direct retries.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
MarekWo
2026-03-23 21:12:31 +01:00
parent aa2ba0a5c8
commit 343b6f40a8
2 changed files with 3 additions and 3 deletions

View File

@@ -2336,7 +2336,7 @@ async function loadNoAutoFloodToggle(pubkey) {
const data = await response.json();
if (data.success) {
showNotification(
data.no_auto_flood ? 'No Flood Fallback enabled' : 'No Flood Fallback disabled',
data.no_auto_flood ? 'Keep path enabled' : 'Keep path disabled',
'info'
);
}

View File

@@ -346,9 +346,9 @@
<input class="form-check-input" type="checkbox" id="dmAutoRetryToggle" checked>
<label class="form-check-label small" for="dmAutoRetryToggle">Auto Retry</label>
</div>
<div class="form-check form-switch" title="No Flood Fallback: never auto-reset path to FLOOD">
<div class="form-check form-switch" title="Keep path: don't auto-reset to FLOOD after failed retries">
<input class="form-check-input" type="checkbox" id="dmNoAutoFloodToggle">
<label class="form-check-label small" for="dmNoAutoFloodToggle">No Flood</label>
<label class="form-check-label small" for="dmNoAutoFloodToggle">Keep path</label>
</div>
</div>
<button type="button" class="btn btn-secondary btn-sm" data-bs-dismiss="modal">Close</button>