1
0
mirror of https://github.com/tooot-app/app synced 2025-06-05 22:19:13 +02:00

Improve sharing error messaging

This commit is contained in:
Zhiyuan Zheng
2022-05-05 23:08:29 +02:00
parent 4503fb991b
commit 8caf315894
3 changed files with 33 additions and 1 deletions

View File

@ -59,7 +59,7 @@ const displayMessage = ({
if (ref) {
ref.current?.showMessage({
duration: type === 'error' ? 5000 : duration === 'short' ? 1500 : 3000,
duration: type === 'error' ? 8000 : duration === 'short' ? 3000 : 5000,
autoHide,
message,
description,