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:
@@ -49,6 +49,7 @@ AddFeedDialog.cancelText = "Cancel"
|
||||
|
||||
AddFeedDialog.onConfirm = (ctx) => {
|
||||
const value = ctx.url
|
||||
|
||||
if (!value) return
|
||||
ctx.dismiss()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user