Skip to content

Commit 83fa1d2

Browse files
committed
Updates for Final Release
1 parent 4b5ff24 commit 83fa1d2

File tree

22 files changed

+67
-46
lines changed

22 files changed

+67
-46
lines changed
Loading
Loading
Loading
Loading
Loading

assets/images/logo.png

219 KB
Loading

assets/images/text.png

-43.5 KB
Binary file not shown.

lib/core/constants/constants.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import 'package:femunity/features/posts/screens/add_posts_screen.dart';
33
import 'package:flutter/material.dart';
44

55
class Constants {
6-
static const textPath = 'assets/images/text.png';
76
static const logoPath = 'assets/images/logo.png';
87
static const welcomePath = 'assets/images/text.png';
98
static const googleLogo = 'assets/images/google.png';

lib/core/utils.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ void showSnackBar(BuildContext context, String text) {
88
..hideCurrentSnackBar()
99
..showSnackBar(SnackBar(
1010
content: Text(text),
11-
backgroundColor: const Color(0xFFffe9ec),
11+
backgroundColor: const Color(0xFFAEC6CF),
1212
));
1313
}
1414

lib/features/communities/screens/add_mod_screen.dart

Lines changed: 33 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -63,16 +63,39 @@ class _AddModsScreenState extends ConsumerState<AddModsScreen> {
6363

6464
return ref.watch(getUserDataProvider(member)).when(
6565
data: (userData) {
66-
return CheckboxListTile(
67-
value: isChecked,
68-
onChanged: (val) {
69-
if (val!) {
70-
addUid(member);
71-
} else {
72-
removeUid(member);
73-
}
74-
},
75-
title: Text(userData.name),
66+
return Container(
67+
decoration: BoxDecoration(
68+
borderRadius: BorderRadius.circular(12),
69+
color:
70+
Theme.of(context).brightness == Brightness.dark
71+
? Colors.grey[900]
72+
: Color(0xFFAEC6CF),
73+
),
74+
margin: const EdgeInsets.symmetric(
75+
vertical: 4, horizontal: 16),
76+
child: CheckboxListTile(
77+
activeColor: Color(0xFFc779d0),
78+
checkColor: Colors.white,
79+
value: isChecked,
80+
onChanged: (val) {
81+
if (val!) {
82+
addUid(member);
83+
} else {
84+
removeUid(member);
85+
}
86+
},
87+
title: Text(
88+
userData.name,
89+
style: TextStyle(
90+
fontWeight: FontWeight.bold,
91+
fontSize: 16,
92+
color: Theme.of(context).brightness ==
93+
Brightness.dark
94+
? Colors.white
95+
: Colors.black,
96+
),
97+
),
98+
),
7699
);
77100
},
78101
error: (error, stackTrace) => ErrorText(

0 commit comments

Comments
 (0)