From 197714d46935398e9674c0003e5e7ee746d207eb Mon Sep 17 00:00:00 2001 From: Dominic Go Date: Mon, 30 Sep 2024 18:48:11 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9E=20Fix:=20`DEFAULT=5FMODAL=5FSHEET?= =?UTF-8?q?=5FVIEW=5FMETRICS`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ModalSheetView/ModalSheetViewConstants.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/components/ModalSheetView/ModalSheetViewConstants.ts b/src/components/ModalSheetView/ModalSheetViewConstants.ts index 6604a267..d695cf22 100644 --- a/src/components/ModalSheetView/ModalSheetViewConstants.ts +++ b/src/components/ModalSheetView/ModalSheetViewConstants.ts @@ -2,9 +2,11 @@ import type { RNIModalSheetStateMetrics } from "../../types/RNIModalSheetStateMe export const DEFAULT_MODAL_SHEET_VIEW_METRICS: RNIModalSheetStateMetrics = { state: 'dismissed', - isDismissed: true, - isDismissing: false, - isPresented: false, + simplified: 'dismissed', + isPresenting: false, - simplified: 'dismissed' + isPresented: false, + isDismissing: false, + isDismissed: true, + isIdle: true, }; \ No newline at end of file