Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
beasy-mobile
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
4
Issues
4
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
G
beasy-mobile
Commits
1c8d78b3
Commit
1c8d78b3
authored
Sep 11, 2024
by
G
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
renamed the component
parent
f1cf55c1
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
10 additions
and
10 deletions
+10
-10
BackgroundWithBeasyIconAndWhiteContentArea.tsx
...ackgrounds/BackgroundWithBeasyIconAndWhiteContentArea.tsx
+1
-1
BeasyDefaultBackgroundWrapper.tsx
src/components/backgrounds/BeasyDefaultBackgroundWrapper.tsx
+0
-0
PaymentAmountInputScreen.tsx
src/screens/PaymentAmountInputScreen.tsx
+3
-3
PaymentResultScreen.tsx
src/screens/PaymentResultScreen.tsx
+3
-3
UserLoginScreen.tsx
src/screens/UserLoginScreen.tsx
+3
-3
No files found.
src/components/backgrounds/BackgroundWithBeasyIconAndWhiteContentArea.tsx
View file @
1c8d78b3
...
@@ -4,7 +4,7 @@ import WrapperTopEdgeCurved from "@components/WrapperTopEdgeCurved";
...
@@ -4,7 +4,7 @@ import WrapperTopEdgeCurved from "@components/WrapperTopEdgeCurved";
import
Box
from
"@components/bases/Box"
;
import
Box
from
"@components/bases/Box"
;
import
{
useNavigation
}
from
"@react-navigation/native"
;
import
{
useNavigation
}
from
"@react-navigation/native"
;
import
type
{
ReactElement
}
from
"react"
;
import
type
{
ReactElement
}
from
"react"
;
import
BackgroundDefault
from
"./B
ackgroundDefault
"
;
import
BackgroundDefault
from
"./B
easyDefaultBackgroundWrapper
"
;
const
BackgroundWithBeasyIconAndWhiteContentArea
=
({
const
BackgroundWithBeasyIconAndWhiteContentArea
=
({
children
,
children
,
...
...
src/components/backgrounds/B
ackgroundDefault
.tsx
→
src/components/backgrounds/B
easyDefaultBackgroundWrapper
.tsx
View file @
1c8d78b3
File moved
src/screens/PaymentAmountInputScreen.tsx
View file @
1c8d78b3
...
@@ -5,7 +5,7 @@ import Button from "@components/Button";
...
@@ -5,7 +5,7 @@ import Button from "@components/Button";
import
GoBackIconButton
from
"@components/GoBackIconButton"
;
import
GoBackIconButton
from
"@components/GoBackIconButton"
;
import
InputWithTopLabel
from
"@components/InputWithTopLabel"
;
import
InputWithTopLabel
from
"@components/InputWithTopLabel"
;
import
PaymentOption
from
"@components/PaymentOption"
;
import
PaymentOption
from
"@components/PaymentOption"
;
import
B
ackgroundDefault
from
"@components/backgrounds/BackgroundDefault
"
;
import
B
easyDefaultBackgroundWrapper
from
"@components/backgrounds/BeasyDefaultBackgroundWrapper
"
;
import
Box
from
"@components/bases/Box"
;
import
Box
from
"@components/bases/Box"
;
import
Text
from
"@components/bases/Text"
;
import
Text
from
"@components/bases/Text"
;
import
useOrangeMoney
from
"@hooks/useOrangeMoney"
;
import
useOrangeMoney
from
"@hooks/useOrangeMoney"
;
...
@@ -92,7 +92,7 @@ const PaymentAmountInputScreen: PaymentStackScreenComponentProps<"paymentAmountI
...
@@ -92,7 +92,7 @@ const PaymentAmountInputScreen: PaymentStackScreenComponentProps<"paymentAmountI
]);
]);
return
(
return
(
<
B
ackgroundDefault
>
<
B
easyDefaultBackgroundWrapper
>
{
/* <SafeAreaView> */
}
{
/* <SafeAreaView> */
}
{
transactionsStatusMutation
.
isPending
&&
<
LoadingScreen
/>
}
{
transactionsStatusMutation
.
isPending
&&
<
LoadingScreen
/>
}
...
@@ -150,7 +150,7 @@ const PaymentAmountInputScreen: PaymentStackScreenComponentProps<"paymentAmountI
...
@@ -150,7 +150,7 @@ const PaymentAmountInputScreen: PaymentStackScreenComponentProps<"paymentAmountI
</
Box
>
</
Box
>
</
Box
>
</
Box
>
{
/* </SafeAreaView> */
}
{
/* </SafeAreaView> */
}
</
B
ackgroundDefault
>
</
B
easyDefaultBackgroundWrapper
>
);
);
};
};
...
...
src/screens/PaymentResultScreen.tsx
View file @
1c8d78b3
...
@@ -2,7 +2,7 @@ import type { MainStackScreenComponentProps } from "@/navigations/Types";
...
@@ -2,7 +2,7 @@ import type { MainStackScreenComponentProps } from "@/navigations/Types";
import
BeasyLogoIcon
from
"@components/BeasyLogoIcon"
;
import
BeasyLogoIcon
from
"@components/BeasyLogoIcon"
;
import
Button
from
"@components/Button"
;
import
Button
from
"@components/Button"
;
import
GoBackIconButton
from
"@components/GoBackIconButton"
;
import
GoBackIconButton
from
"@components/GoBackIconButton"
;
import
B
ackgroundDefault
from
"@components/backgrounds/BackgroundDefault
"
;
import
B
easyDefaultBackgroundWrapper
from
"@components/backgrounds/BeasyDefaultBackgroundWrapper
"
;
import
Box
from
"@components/bases/Box"
;
import
Box
from
"@components/bases/Box"
;
import
Text
from
"@components/bases/Text"
;
import
Text
from
"@components/bases/Text"
;
import
CheckIcon
from
"@components/icons/CheckIcon"
;
import
CheckIcon
from
"@components/icons/CheckIcon"
;
...
@@ -20,7 +20,7 @@ const PaymentResultScreen: MainStackScreenComponentProps<"paymentResultScreen">
...
@@ -20,7 +20,7 @@ const PaymentResultScreen: MainStackScreenComponentProps<"paymentResultScreen">
const
insets
=
useSafeAreaInsets
();
const
insets
=
useSafeAreaInsets
();
log
.
debug
(
"insets"
,
insets
);
log
.
debug
(
"insets"
,
insets
);
return
(
return
(
<
B
ackgroundDefault
>
<
B
easyDefaultBackgroundWrapper
>
<
SafeAreaView
edges=
{
[
"top"
,
"left"
,
"right"
]
}
>
<
SafeAreaView
edges=
{
[
"top"
,
"left"
,
"right"
]
}
>
<
Box
<
Box
style=
{
{
style=
{
{
...
@@ -135,7 +135,7 @@ const PaymentResultScreen: MainStackScreenComponentProps<"paymentResultScreen">
...
@@ -135,7 +135,7 @@ const PaymentResultScreen: MainStackScreenComponentProps<"paymentResultScreen">
</
Box
>
</
Box
>
</
Box
>
</
Box
>
</
SafeAreaView
>
</
SafeAreaView
>
</
B
ackgroundDefault
>
</
B
easyDefaultBackgroundWrapper
>
);
);
};
};
...
...
src/screens/UserLoginScreen.tsx
View file @
1c8d78b3
...
@@ -3,7 +3,7 @@ import type { MainStackScreenComponentProps } from "@/navigations/Types";
...
@@ -3,7 +3,7 @@ import type { MainStackScreenComponentProps } from "@/navigations/Types";
import
Button
from
"@components/Button"
;
import
Button
from
"@components/Button"
;
import
ContainerBorderTopCurved
from
"@components/ContainerBorderTopCurved"
;
import
ContainerBorderTopCurved
from
"@components/ContainerBorderTopCurved"
;
import
InputWithTopLabel
from
"@components/InputWithTopLabel"
;
import
InputWithTopLabel
from
"@components/InputWithTopLabel"
;
import
B
ackgroundDefault
from
"@components/backgrounds/BackgroundDefault
"
;
import
B
easyDefaultBackgroundWrapper
from
"@components/backgrounds/BeasyDefaultBackgroundWrapper
"
;
import
Box
from
"@components/bases/Box"
;
import
Box
from
"@components/bases/Box"
;
import
Text
from
"@components/bases/Text"
;
import
Text
from
"@components/bases/Text"
;
import
{
Fontisto
}
from
"@expo/vector-icons"
;
import
{
Fontisto
}
from
"@expo/vector-icons"
;
...
@@ -27,7 +27,7 @@ const UserLoginScreen: MainStackScreenComponentProps<"userLoginScreen"> = ({ nav
...
@@ -27,7 +27,7 @@ const UserLoginScreen: MainStackScreenComponentProps<"userLoginScreen"> = ({ nav
},
[
email
,
password
,
login
]);
},
[
email
,
password
,
login
]);
return
(
return
(
<
B
ackgroundDefault
>
<
B
easyDefaultBackgroundWrapper
>
<
View
style=
{
[
containers
.
containerFull
]
}
>
<
View
style=
{
[
containers
.
containerFull
]
}
>
<
Box
style=
{
{
height
:
"20%"
}
}
px=
{
"l"
}
>
<
Box
style=
{
{
height
:
"20%"
}
}
px=
{
"l"
}
>
<
Box
<
Box
...
@@ -98,7 +98,7 @@ const UserLoginScreen: MainStackScreenComponentProps<"userLoginScreen"> = ({ nav
...
@@ -98,7 +98,7 @@ const UserLoginScreen: MainStackScreenComponentProps<"userLoginScreen"> = ({ nav
</
KeyboardAwareScrollView
>
</
KeyboardAwareScrollView
>
</
ContainerBorderTopCurved
>
</
ContainerBorderTopCurved
>
</
View
>
</
View
>
</
B
ackgroundDefault
>
</
B
easyDefaultBackgroundWrapper
>
);
);
};
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment