デザインの調整

This commit is contained in:
harukin-expo-dev-env 2025-03-10 15:47:29 +00:00
parent c0478bf9ae
commit e58e24ba71

View File

@ -23,7 +23,6 @@ export const TrainIconUpdate = () => {
const insets = useSafeAreaInsets(); const insets = useSafeAreaInsets();
const viewShot = useRef(null); const viewShot = useRef(null);
const onCapture = async () => { const onCapture = async () => {
const url = await viewShot.current.capture(); const url = await viewShot.current.capture();
@ -63,10 +62,7 @@ export const TrainIconUpdate = () => {
borderWidth: 1, borderWidth: 1,
}} }}
> >
<ViewShot ref={viewShot} options={{ format: "jpg" }}> <View style={{ height: 26, width: "100%", backgroundColor: "#0099CC" }}>
<View
style={{ height: 26, width: "100%", backgroundColor: "#0099CC" }}
>
<View <View
style={{ style={{
height: 6, height: 6,
@ -78,6 +74,7 @@ export const TrainIconUpdate = () => {
}} }}
/> />
</View> </View>
<ViewShot ref={viewShot} options={{ format: "jpg" }}>
<View <View
style={{ style={{
padding: 10, padding: 10,
@ -119,16 +116,18 @@ export const TrainIconUpdate = () => {
) : ( ) : (
<></> <></>
)} )}
<Text <View
style={{ style={{
fontSize: 15, padding: 10,
fontWeight: "bold", flexDirection: "row",
color: "white", alignItems: "center",
backgroundColor: "#0099CC", backgroundColor: "#0099CC",
}} }}
> >
<Text style={{ fontSize: 15, fontWeight: "bold", color: "white" }}>
JR四国非公式アプリを更新して好きなアイコンに変更してみよう JR四国非公式アプリを更新して好きなアイコンに変更してみよう
</Text> </Text>
</View>
</ViewShot> </ViewShot>
<View <View
style={{ style={{