Skip to content

Commit

Permalink
feat: adjust separator line
Browse files Browse the repository at this point in the history
  • Loading branch information
SunnyCloudYang committed Oct 30, 2024
1 parent 6502621 commit 92e38ef
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions apps/thu-info-app/src/ui/home/networkOnlineDevices.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ import {
import themes from "../../assets/themes/themes";
import {RoundedView} from "../../components/views";
import {useHeaderHeight} from "@react-navigation/elements";
import {getStatusBarHeight} from "react-native-safearea-height";
import { getStatusBarHeight } from "react-native-safearea-height";
import { styles } from "../settings/settings";

const DeviceCard = ({device, refresh}: {device: Device; refresh: Function}) => {
const themeName = useColorScheme();
Expand Down Expand Up @@ -66,11 +67,12 @@ const DeviceCard = ({device, refresh}: {device: Device; refresh: Function}) => {
{device.ip4}
</Text>
<View
style={{
borderWidth: 0.4,
marginVertical: 12,
borderColor: colors.themeGrey,
}}
style={
[styles(themeName).separator,
{
marginVertical: 12,
}]
}
/>
<Item left={getStr("ip6")} right={device.ip6} />
<Item left={getStr("nasIP")} right={device.nasIp} />
Expand Down

0 comments on commit 92e38ef

Please sign in to comment.