From a66bcca38b63faa01c096e96766d19bc0e9a6314 Mon Sep 17 00:00:00 2001 From: imeepos Date: Tue, 13 Jan 2026 16:16:43 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BD=BF=E7=94=A8=20RNText=20=E5=B9=B6?= =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E7=99=BD=E8=89=B2=E6=96=87=E5=AD=97=E9=A2=9C?= =?UTF-8?q?=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/ui/Toast.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/ui/Toast.tsx b/components/ui/Toast.tsx index e44837e..ac55d7b 100644 --- a/components/ui/Toast.tsx +++ b/components/ui/Toast.tsx @@ -1,6 +1,7 @@ import React, { ReactNode } from 'react' import Text from './Text' import Block from './Block' +import { Text as RNText } from 'react-native' import { ActivityIndicator } from 'react-native' @@ -75,7 +76,7 @@ const Toast = (function () { if (renderContent) { return renderContent() } - return title && {title} + return title && {title} } ; (global as any).toast?.show(