Skip to content

Commit 1533509

Browse files
tags add page update
1 parent 43b23d1 commit 1533509

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

lib/widgets/taskdetails/tags_widget.dart

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,15 @@ class TagsRouteState extends State<TagsRoute> {
122122
color: Colors.white,
123123
),
124124
),
125+
backgroundColor: AppSettings.isDarkMode
126+
? const Color.fromARGB(255, 31, 31, 31)
127+
: Colors.white,
125128
body: SafeArea(
126129
child: Padding(
127130
padding: const EdgeInsets.all(4),
128131
child: SingleChildScrollView(
132+
padding:
133+
const EdgeInsets.only(left: 10, top: 10, right: 10, bottom: 0),
129134
child: Wrap(
130135
spacing: 8,
131136
runSpacing: 4,
@@ -140,15 +145,21 @@ class TagsRouteState extends State<TagsRoute> {
140145
),
141146
),
142147
if (draftTags == null)
143-
const Padding(
144-
padding: EdgeInsets.fromLTRB(15, 18, 0, 10),
148+
Padding(
149+
padding: const EdgeInsets.fromLTRB(15, 18, 0, 10),
145150
child: Text(
146151
'Added tags will appear here',
147-
style: TextStyle(fontStyle: FontStyle.italic),
152+
style: TextStyle(
153+
fontStyle: FontStyle.italic,
154+
color: AppSettings.isDarkMode
155+
? Colors.white
156+
: Colors.black),
148157
),
149158
),
150159
Divider(
151-
color: Palette.kToDark.shade200,
160+
color: AppSettings.isDarkMode
161+
? const Color.fromARGB(255, 192, 192, 192)
162+
: Palette.kToDark.shade200,
152163
),
153164
if (_pendingTags != null)
154165
for (var tag in _pendingTags!.entries.where((tag) =>

0 commit comments

Comments
 (0)