M3 Overhaul
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import '../theme/m3_motion.dart';
|
||||
import 'package:flutter_riverpod/flutter_riverpod.dart';
|
||||
|
||||
import '../models/profile.dart';
|
||||
@@ -117,7 +118,7 @@ class TaskAssignmentSection extends ConsumerWidget {
|
||||
// consider vacancy anymore because everyone is eligible, so the only
|
||||
// reason for the dialog to be unusable is an empty staff list.
|
||||
if (eligibleStaff.isEmpty && assignedIds.isEmpty) {
|
||||
await showDialog<void>(
|
||||
await m3ShowDialog<void>(
|
||||
context: context,
|
||||
builder: (dialogContext) {
|
||||
return AlertDialog(
|
||||
@@ -137,7 +138,7 @@ class TaskAssignmentSection extends ConsumerWidget {
|
||||
}
|
||||
|
||||
final selection = assignedIds.toSet();
|
||||
await showDialog<void>(
|
||||
await m3ShowDialog<void>(
|
||||
context: context,
|
||||
builder: (dialogContext) {
|
||||
var isSaving = false;
|
||||
|
||||
Reference in New Issue
Block a user