File tree Expand file tree Collapse file tree 1 file changed +8
-8
lines changed
lib/app/modules/home/views Expand file tree Collapse file tree 1 file changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -120,8 +120,7 @@ class TaskViewBuilder extends StatelessWidget {
120120 SlidableAction (
121121 onPressed: (context) {
122122 _markTaskAsCompleted (task.uuid! );
123- ScaffoldMessenger .of (context).showSnackBar (
124- SnackBar (
123+ ScaffoldMessenger .of (context).showSnackBar (SnackBar (
125124 content: Text (
126125 SentenceManager (
127126 currentLanguage:
@@ -132,8 +131,9 @@ class TaskViewBuilder extends StatelessWidget {
132131 color: tColors.primaryTextColor,
133132 ),
134133 ),
135- ),
136- );
134+ backgroundColor:
135+ tColors.secondaryBackgroundColor,
136+ duration: const Duration (seconds: 2 )));
137137 },
138138 icon: Icons .done,
139139 label: SentenceManager (
@@ -150,8 +150,7 @@ class TaskViewBuilder extends StatelessWidget {
150150 SlidableAction (
151151 onPressed: (context) {
152152 _markTaskAsDeleted (task.uuid! );
153- ScaffoldMessenger .of (context).showSnackBar (
154- SnackBar (
153+ ScaffoldMessenger .of (context).showSnackBar (SnackBar (
155154 content: Text (
156155 SentenceManager (
157156 currentLanguage:
@@ -162,8 +161,9 @@ class TaskViewBuilder extends StatelessWidget {
162161 color: tColors.primaryTextColor,
163162 ),
164163 ),
165- ),
166- );
164+ backgroundColor:
165+ tColors.secondaryBackgroundColor,
166+ duration: const Duration (seconds: 2 )));
167167 },
168168 icon: Icons .delete,
169169 label: SentenceManager (
You can’t perform that action at this time.
0 commit comments