Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
AppUms_Student
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
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
tungnq
AppUms_Student
Commits
5159efcf
Commit
5159efcf
authored
Sep 26, 2025
by
tungnq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TODO: Đã hoàn thiện giao diện phần thông báo
parent
b96e6766
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
style.js
src/screens/notification/style.js
+4
-5
view.js
src/screens/notification/view.js
+1
-2
No files found.
src/screens/notification/style.js
View file @
5159efcf
...
@@ -17,7 +17,7 @@ const styles = StyleSheet.create({
...
@@ -17,7 +17,7 @@ const styles = StyleSheet.create({
marginHorizontal
:
3
,
marginHorizontal
:
3
,
borderRadius
:
10
,
borderRadius
:
10
,
backgroundColor
:
R
.
colors
.
gray400
,
backgroundColor
:
R
.
colors
.
gray400
,
minWidth
:
86
,
width
:
90
,
alignItems
:
"center"
,
alignItems
:
"center"
,
justifyContent
:
"center"
,
justifyContent
:
"center"
,
},
},
...
@@ -43,12 +43,11 @@ const styles = StyleSheet.create({
...
@@ -43,12 +43,11 @@ const styles = StyleSheet.create({
shadowColor
:
R
.
colors
.
black
,
shadowColor
:
R
.
colors
.
black
,
shadowOffset
:
{
shadowOffset
:
{
width
:
0
,
width
:
0
,
height
:
1
,
height
:
2
,
},
},
shadowOpacity
:
0.5
,
shadowOpacity
:
Platform
.
OS
===
'ios'
?
0.25
:
1
,
shadowRadius
:
1
,
shadowRadius
:
1
,
elevation
:
1
,
elevation
:
Platform
.
OS
===
'ios'
?
1
:
2
,
},
},
notification_content
:
{
notification_content
:
{
flex
:
1
,
flex
:
1
,
...
...
src/screens/notification/view.js
View file @
5159efcf
...
@@ -4,13 +4,11 @@ import {
...
@@ -4,13 +4,11 @@ import {
View
,
View
,
TouchableOpacity
,
TouchableOpacity
,
FlatList
,
FlatList
,
SafeAreaView
,
}
from
"react-native"
;
}
from
"react-native"
;
import
Header
from
"../../components/Header/Header"
;
import
Header
from
"../../components/Header/Header"
;
import
ItemEmpty
from
"../../components/List/ItemEmpty"
;
import
ItemEmpty
from
"../../components/List/ItemEmpty"
;
import
I18n
from
"../../helper/i18/i18n"
;
import
I18n
from
"../../helper/i18/i18n"
;
import
styles
from
"./style"
;
import
styles
from
"./style"
;
import
R
from
"../../assets/R"
;
import
{
useNavigation
}
from
"@react-navigation/native"
;
import
{
useNavigation
}
from
"@react-navigation/native"
;
import
{
NEWSDETAILS
}
from
"../../routers/ScreenNames"
;
import
{
NEWSDETAILS
}
from
"../../routers/ScreenNames"
;
const
NotificationView
=
(
props
)
=>
{
const
NotificationView
=
(
props
)
=>
{
...
@@ -74,6 +72,7 @@ const NotificationView = (props) => {
...
@@ -74,6 +72,7 @@ const NotificationView = (props) => {
<
FlatList
<
FlatList
data
=
{
dataNotifi
[
activeTab
]
||
[]}
data
=
{
dataNotifi
[
activeTab
]
||
[]}
showsVerticalScrollIndicator
=
{
false
}
showsVerticalScrollIndicator
=
{
false
}
contentContainerStyle
=
{{
paddingTop
:
10
}}
renderItem
=
{
renderNotificationItem
}
renderItem
=
{
renderNotificationItem
}
keyExtractor
=
{(
item
,
index
)
=>
`
${
activeTab
}
-
${
index
}
`
}
keyExtractor
=
{(
item
,
index
)
=>
`
${
activeTab
}
-
${
index
}
`
}
ListEmptyComponent
=
{()
=>
(
ListEmptyComponent
=
{()
=>
(
...
...
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