mirror of
https://gitea.tendokyu.moe/ppc/amnet.git
synced 2026-09-25 07:38:17 +03:00
change transport ic icon to rail symbol
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import {Text} from "react-native";
|
||||
import {ReactNode, useMemo} from "react";
|
||||
import {CreditCard, History, Joystick, Keyboard, KeyRound, Tickets} from "lucide-react-native";
|
||||
import {CreditCard, History, Joystick, RailSymbol} from "lucide-react-native";
|
||||
|
||||
import TimeAgo from "./TimeAgo";
|
||||
import {AMUICard, AMUICardActionProps, AMUICardDetail} from "./AMUICard";
|
||||
@@ -44,7 +44,7 @@ function PhysicalICInfo(props: { physicalCard: AMPhysicalCardData | null }) {
|
||||
if (props.physicalCard?.cardType === ICType.Transport) {
|
||||
return (
|
||||
<AMUICardDetail>
|
||||
<Tickets size={18} color="gray"/>
|
||||
<RailSymbol size={18} color="gray"/>
|
||||
<Text style={{color: "gray"}}>Transport IC Card</Text>
|
||||
</AMUICardDetail>
|
||||
)
|
||||
@@ -65,17 +65,17 @@ function PhysicalICInfo(props: { physicalCard: AMPhysicalCardData | null }) {
|
||||
function ICVendorName(vendor: AmusementICVendor): string {
|
||||
switch (vendor) {
|
||||
case AmusementICVendor.Sega:
|
||||
return "Aime Card";
|
||||
return "AiMe Card";
|
||||
|
||||
case AmusementICVendor.Konami:
|
||||
return "e-Amusement Pass";
|
||||
|
||||
case AmusementICVendor.BandaiNamcoGames:
|
||||
case AmusementICVendor.BandaiNamcoEntertainment:
|
||||
return "Bana Passport";
|
||||
return "Banapass";
|
||||
|
||||
case AmusementICVendor.Nesica:
|
||||
return "Nesica Card";
|
||||
return "NESiCA Card";
|
||||
|
||||
default:
|
||||
return "Amusement IC Card";
|
||||
|
||||
Reference in New Issue
Block a user