mirror of
https://gitea.tendokyu.moe/ppc/amnet.git
synced 2026-09-26 16:18:17 +03:00
fix bad card style on light theme
This commit is contained in:
@@ -55,7 +55,7 @@ export default function CardAddModal({navigation}) {
|
||||
}, [navigation, modalStyles, cardName, cardNumber]);
|
||||
|
||||
return (<View style={{display: "flex", gap: 10, justifyContent: "center", paddingHorizontal: 15, paddingTop: 25}}>
|
||||
<Card>
|
||||
<Card mode="contained">
|
||||
<Card.Content>
|
||||
<View style={modalStyles.formItemRow}>
|
||||
<Paragraph style={modalStyles.formItemName}>
|
||||
|
||||
@@ -57,7 +57,7 @@ export default function ServerAddModal({navigation}) {
|
||||
}, [serverAddress, realm]);
|
||||
|
||||
return (<View style={{display: "flex", gap: 10, justifyContent: "center", paddingHorizontal: 15, paddingTop: 25}}>
|
||||
<Card>
|
||||
<Card mode="contained">
|
||||
<Card.Content>
|
||||
<View style={{...modalStyles.formItemRow, gap: 10}}>
|
||||
<Paragraph style={{...modalStyles.formItemName, minWidth: 0}}>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import {Alert, FlatList, RefreshControl, ScrollView, StyleSheet, View} from "react-native";
|
||||
import {Alert, RefreshControl, ScrollView, StyleSheet, Text, View} from "react-native";
|
||||
import React, {useCallback, useEffect, useLayoutEffect, useMemo, useState} from "react";
|
||||
import {ActivityIndicator, Button, Card, Paragraph, Title, useTheme} from "react-native-paper";
|
||||
import {CircleCheck, CircleDot, CreditCard, Nfc, Plus, SmartphoneNfcIcon, WifiOff} from "lucide-react-native";
|
||||
import {ActivityIndicator, Button, Card, MD3Colors, Paragraph, Title, useTheme} from "react-native-paper";
|
||||
import {EmptyStatePlaceholder} from "../components/EmptyStatePlaceholder";
|
||||
import {AimeCard} from "../components/AimeCard";
|
||||
import {BSON} from "realm";
|
||||
@@ -172,7 +172,7 @@ export default function ServerCardIn({route, navigation}) {
|
||||
</View>}
|
||||
</View>
|
||||
|
||||
{cards.length && (
|
||||
{cards.length > 0 && (
|
||||
<View style={styles.section}>
|
||||
<Title style={{fontWeight: "bold"}}>Additional Cards</Title>
|
||||
<Button mode="contained"
|
||||
|
||||
Reference in New Issue
Block a user