feat(mobile): improve dialog confirmation and remove unused spring preset

- Remove unused bouncySpringPreset from spring constants
- Add handleConfirm method in dialog to support onConfirm callback
- Update AddFeedDialog to handle empty URL input more gracefully

Signed-off-by: Innei <tukon479@gmail.com>
This commit is contained in:
Innei
2025-03-11 18:50:09 +08:00
parent ea32df6b9b
commit 4e2cdbee2d
3 changed files with 7 additions and 7 deletions
@@ -49,6 +49,7 @@ AddFeedDialog.cancelText = "Cancel"
AddFeedDialog.onConfirm = (ctx) => {
const value = ctx.url
if (!value) return
ctx.dismiss()