Color is non-nullable again now

This commit is contained in:
Simon Binder 2022-06-28 23:07:34 +02:00
parent 1b06fcfc77
commit c5c67e15a1
No known key found for this signature in database
GPG Key ID: 7891917E4147B8C0
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ class _CategoryDrawerEntry extends ConsumerWidget {
padding: const EdgeInsets.only(right: 10),
child: GestureDetector(
onTap: () async {
final newColor = await _selectColor(context, category.color!);
final newColor = await _selectColor(context, category.color);
if (newColor != null) {
final update = ref
.read(AppDatabase.provider)