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
21ddacf1
Commit
21ddacf1
authored
Jul 01, 2024
by
G
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
looking alright for the moment. will add functionnality later
parent
4549b243
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
84 additions
and
2 deletions
+84
-2
TransactionHistoryScreen.tsx
src/screens/TransactionHistoryScreen.tsx
+84
-2
No files found.
src/screens/TransactionHistoryScreen.tsx
View file @
21ddacf1
...
@@ -5,8 +5,9 @@ import Box from "@components/bases/Box";
...
@@ -5,8 +5,9 @@ import Box from "@components/bases/Box";
import
Text
from
"@components/bases/Text"
;
import
Text
from
"@components/bases/Text"
;
import
useTransactionsHistory
from
"@hooks/useTransactionsHistory"
;
import
useTransactionsHistory
from
"@hooks/useTransactionsHistory"
;
import
{
LOG
}
from
"@logger"
;
import
{
LOG
}
from
"@logger"
;
import
theme
from
"@themes/Theme"
;
import
{
useState
}
from
"react"
;
import
{
useState
}
from
"react"
;
import
{
RefreshControl
,
ScrollView
}
from
"react-native"
;
import
{
RefreshControl
,
ScrollView
,
Switch
}
from
"react-native"
;
import
Icon
from
"react-native-vector-icons/Ionicons"
;
import
Icon
from
"react-native-vector-icons/Ionicons"
;
const
log
=
LOG
.
extend
(
"TransactionHistoryScreen"
);
const
log
=
LOG
.
extend
(
"TransactionHistoryScreen"
);
...
@@ -113,7 +114,7 @@ const FiltersModal: React.FC<FiltersModalProps> = ({ setShowFiltersModal }) => {
...
@@ -113,7 +114,7 @@ const FiltersModal: React.FC<FiltersModalProps> = ({ setShowFiltersModal }) => {
width=
{
"100%"
}
width=
{
"100%"
}
>
>
<
Text
fontSize=
{
20
}
variant=
{
"black"
}
fontWeight=
{
"bold"
}
>
<
Text
fontSize=
{
20
}
variant=
{
"black"
}
fontWeight=
{
"bold"
}
>
Paramétrage
du
filtre
Paramétrage filtre
</
Text
>
</
Text
>
<
Icon
<
Icon
name=
"close-outline"
name=
"close-outline"
...
@@ -122,6 +123,87 @@ const FiltersModal: React.FC<FiltersModalProps> = ({ setShowFiltersModal }) => {
...
@@ -122,6 +123,87 @@ const FiltersModal: React.FC<FiltersModalProps> = ({ setShowFiltersModal }) => {
onPress=
{
()
=>
setShowFiltersModal
(
false
)
}
onPress=
{
()
=>
setShowFiltersModal
(
false
)
}
/>
/>
</
Box
>
</
Box
>
<
Text
fontSize=
{
20
}
fontWeight=
{
"bold"
}
my=
{
"s"
}
>
Opérateurs
</
Text
>
<
Box
width=
{
"100%"
}
backgroundColor=
{
"lightGray"
}
borderRadius=
{
10
}
p=
{
"s"
}
gap=
{
"s"
}
>
<
Box
flexDirection=
{
"row"
}
alignItems=
{
"center"
}
justifyContent=
{
"space-between"
}
borderBottomColor=
{
"white"
}
borderBottomWidth=
{
1
}
py=
{
"s"
}
>
<
Text
fontWeight=
{
"bold"
}
>
Orange Money
</
Text
>
<
Switch
trackColor=
{
{
false
:
"#767577"
,
true
:
theme
.
colors
.
secondary
}
}
value=
{
true
}
/>
</
Box
>
<
Box
flexDirection=
{
"row"
}
alignItems=
{
"center"
}
justifyContent=
{
"space-between"
}
borderBottomColor=
{
"white"
}
borderBottomWidth=
{
1
}
py=
{
"s"
}
>
<
Text
fontWeight=
{
"bold"
}
>
MTN Money
</
Text
>
<
Switch
trackColor=
{
{
false
:
"#767577"
,
true
:
theme
.
colors
.
secondary
}
}
value=
{
true
}
/>
</
Box
>
<
Box
flexDirection=
{
"row"
}
alignItems=
{
"center"
}
justifyContent=
{
"space-between"
}
borderBottomColor=
{
"white"
}
borderBottomWidth=
{
1
}
py=
{
"s"
}
>
<
Text
fontWeight=
{
"bold"
}
>
Moov Money
</
Text
>
<
Switch
trackColor=
{
{
false
:
"#767577"
,
true
:
theme
.
colors
.
secondary
}
}
value=
{
true
}
/>
</
Box
>
<
Box
flexDirection=
{
"row"
}
alignItems=
{
"center"
}
justifyContent=
{
"space-between"
}
borderBottomColor=
{
"white"
}
borderBottomWidth=
{
1
}
py=
{
"s"
}
>
<
Text
fontWeight=
{
"bold"
}
>
Wave
</
Text
>
<
Switch
trackColor=
{
{
false
:
"#767577"
,
true
:
theme
.
colors
.
secondary
}
}
value=
{
true
}
/>
</
Box
>
<
Box
flexDirection=
{
"row"
}
alignItems=
{
"center"
}
justifyContent=
{
"space-between"
}
borderBottomColor=
{
"white"
}
py=
{
"s"
}
>
<
Text
fontWeight=
{
"bold"
}
>
Visa
</
Text
>
<
Switch
trackColor=
{
{
false
:
"#767577"
,
true
:
theme
.
colors
.
secondary
}
}
value=
{
true
}
/>
</
Box
>
</
Box
>
</
Box
>
</
Box
>
</
Box
>
</
Box
>
</>
</>
...
...
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