diff --git a/src/Platform/Fabric/FabricUtil.ts b/src/Platform/Fabric/FabricUtil.ts index 3482524e9..52e3a645d 100644 --- a/src/Platform/Fabric/FabricUtil.ts +++ b/src/Platform/Fabric/FabricUtil.ts @@ -106,7 +106,7 @@ const requestAndStoreAccessToken = async (): Promise => { }; export const openRestoreContainerDialog = (): void => { - if (configContext.platform === Platform.Fabric) { + if (isFabricNative()) { sendCachedDataMessage(FabricMessageTypes.RestoreContainer, []); } };