upd: refactor style

This commit is contained in:
2026-02-19 15:27:02 +08:00
parent 77f478b7ca
commit 6770d40b41
45 changed files with 195 additions and 136 deletions

View File

@@ -85,11 +85,11 @@ export default function Announcement() {
})
return (
<View style={[Styles.p15, { flex: 1, backgroundColor: colors.background }]}>
<View style={[Styles.p15, Styles.flex1, { backgroundColor: colors.background }]}>
<View>
<InputSearch onChange={setSearch} />
</View>
<View style={[{ flex: 2 }, Styles.mt05]}>
<View style={[Styles.flex2, Styles.mt05]}>
{
loading ?
arrSkeleton.map((item, index) => {
@@ -113,7 +113,7 @@ export default function Announcement() {
bgColor="transparent"
icon={
// <View style={[Styles.iconContent]}>
<MaterialIcons name="campaign" size={25} color={colors.text} />
<MaterialIcons name="campaign" size={25} color={colors.text} />
// </View>
}
title={item.title}
@@ -135,7 +135,7 @@ export default function Announcement() {
}
/>
:
<Text style={[Styles.textDefault, { textAlign: 'center', color: colors.dimmed }]}>Tidak ada pengumuman</Text>
<Text style={[Styles.textDefault, Styles.textCenter, { color: colors.dimmed }]}>Tidak ada pengumuman</Text>
}
</View>
</View>