Commit 28d87f82 by G

fix: Add missing notification icon and default amount to the Balance component.

parent 94ede4ef
...@@ -2,6 +2,7 @@ import { asp as g } from "@asp/asp"; ...@@ -2,6 +2,7 @@ import { asp as g } from "@asp/asp";
import { Balance } from "@components/Balance"; import { Balance } from "@components/Balance";
import { BarnoinPayBackground } from "@components/BarnoinPayBackground"; import { BarnoinPayBackground } from "@components/BarnoinPayBackground";
import BeasyLogoIcon from "@components/BeasyLogoIcon"; import BeasyLogoIcon from "@components/BeasyLogoIcon";
import Ionicons from "@expo/vector-icons/Ionicons";
import { LOG } from "@logger"; import { LOG } from "@logger";
import { useQuery } from "@tanstack/react-query"; import { useQuery } from "@tanstack/react-query";
import { Text, View } from "react-native"; import { Text, View } from "react-native";
...@@ -28,8 +29,9 @@ const HomePageWithPaymentOptions: PaymentStackScreenComponentProps< ...@@ -28,8 +29,9 @@ const HomePageWithPaymentOptions: PaymentStackScreenComponentProps<
return ( return (
<BarnoinPayBackground style={[g.flex_col, g.relative]}> <BarnoinPayBackground style={[g.flex_col, g.relative]}>
<View style={[g.px_lg]}> <View style={[g.px_lg, g.flex_row, g.justify_between]}>
<BeasyLogoIcon /> <BeasyLogoIcon />
<Ionicons name="notifications" size={24} color="black" />
</View> </View>
<View <View
...@@ -42,7 +44,7 @@ const HomePageWithPaymentOptions: PaymentStackScreenComponentProps< ...@@ -42,7 +44,7 @@ const HomePageWithPaymentOptions: PaymentStackScreenComponentProps<
{ top: 120 }, { top: 120 },
]} ]}
> >
<Balance /> <Balance amount={0} />
</View> </View>
<View <View
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment