Reduce duration of new record toast

This commit is contained in:
Brandon Presley 2022-08-27 18:09:45 +12:00
parent 4967cbf728
commit 3e71be42db

View File

@ -71,7 +71,7 @@ export default function EditSet() {
weight > params.set.weight || weight > params.set.weight ||
(reps > params.set.reps && weight === params.set.weight) (reps > params.set.reps && weight === params.set.weight)
) )
toast("Great work King, that's a new record!", 6000); toast("Great work King, that's a new record!", 3000);
navigation.goBack(); navigation.goBack();
}, },
[db, navigation, startTimer, params.set, toast], [db, navigation, startTimer, params.set, toast],