mirror of
https://github.com/urosran/cally.git
synced 2025-11-26 00:24:53 +00:00
fixed calendar after tablet merge
This commit is contained in:
@ -2,6 +2,8 @@ import {SafeAreaView} from "react-native-safe-area-context";
|
||||
import {Button, Image, Text, View} from "react-native-ui-lib";
|
||||
import React from "react";
|
||||
import {useRouter} from "expo-router";
|
||||
import * as Device from "expo-device";
|
||||
import { DeviceType } from "expo-device";
|
||||
|
||||
export default function Screen() {
|
||||
const router = useRouter()
|
||||
@ -25,7 +27,7 @@ export default function Screen() {
|
||||
|
||||
<View flexG/>
|
||||
|
||||
<View width={"100%"}>
|
||||
<View width={"100%"} centerH>
|
||||
<Button
|
||||
label="Continue"
|
||||
marginT-50
|
||||
@ -34,7 +36,7 @@ export default function Screen() {
|
||||
fontSize: 16,
|
||||
}}
|
||||
onPress={() => router.push("/(unauth)/get_started")}
|
||||
style={{height: 50}}
|
||||
style={{height: 50, width: Device.deviceType === DeviceType.TABLET ? 629 : "100%"}}
|
||||
backgroundColor="#fd1775"
|
||||
/>
|
||||
</View>
|
||||
|
||||
Reference in New Issue
Block a user