現在地表示の区間表示が二段で表示されないバグを修正

This commit is contained in:
harukin-OneMix4 2024-01-15 20:27:32 +09:00
parent 7492028a21
commit 33c2f00b73

View File

@ -754,7 +754,7 @@ const StateBox = ({ text, title }) => (
<View style={boxStyle}>
<Text style={{ fontSize: 15, color: "#0099CC" }}>{title}</Text>
<View style={{ flex: 1 }} />
<Text style={{ fontSize: 32, color: "#0099CC", textAlign: "right" }}>
<View style={{ fontSize: 32, color: "#0099CC", textAlign: "right" }}>
{text?.match("") ? (
<>
<Text style={boxTextStyle}>{text.split("")[0]}</Text>
@ -764,7 +764,7 @@ const StateBox = ({ text, title }) => (
) : (
<Text style={boxTextStyle}>{text}</Text>
)}
</Text>
</View>
</View>
);
const boxStyle = {