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

Optimisations and haptics

This commit is contained in:
Zhiyuan Zheng
2021-05-26 23:30:15 +02:00
parent 926bce8f58
commit 8a56e3a4f0
8 changed files with 162 additions and 264 deletions

View File

@ -80,7 +80,7 @@ const displayMessage = ({
})
} else {
showMessage({
duration: type === 'error' ? 5000 : duration === 'short' ? 1500 : 3000,
duration: type === 'error' ? 3500 : duration === 'short' ? 1500 : 2500,
autoHide,
message,
description,