mirror of https://github.com/AMT-Cheif/drift.git
Color is non-nullable again now
This commit is contained in:
parent
1b06fcfc77
commit
c5c67e15a1
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue