mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-23 06:59:31 +01:00
make sure multiple default notes are not created
This commit is contained in:
@@ -245,7 +245,7 @@ const SplashScreen = () => {
|
||||
width={isNext ? null : '100%'}
|
||||
onPress={async () => {
|
||||
if (isNext) {
|
||||
carouselRef.current?.snapToNext();
|
||||
carouselRef.current?.snapToItem(currentIndex + 1,true,true);
|
||||
currentIndex++;
|
||||
if (currentIndex === 4) {
|
||||
setIsNext(false);
|
||||
|
||||
Reference in New Issue
Block a user