upgraded flutter and other fixes
This commit is contained in:
1 parent
be97e5c7fc
commit
44be6cd5e7
24 files changed
+2082
-442
No files matched your search
@@ -682,7 +682,7 @@ class _ContactsScreenState extends State<ContactsScreen>
|
||||
return;
|
||||
}
|
||||
final exists = _groups.any((g) {
|
||||
if (isEditing && g.name == group!.name) return false;
|
||||
if (isEditing && g.name == group.name) return false;
|
||||
return g.name.toLowerCase() == name.toLowerCase();
|
||||
});
|
||||
if (exists) {
|
||||
@@ -693,7 +693,7 @@ class _ContactsScreenState extends State<ContactsScreen>
|
||||
}
|
||||
setState(() {
|
||||
if (isEditing) {
|
||||
final index = _groups.indexWhere((g) => g.name == group!.name);
|
||||
final index = _groups.indexWhere((g) => g.name == group.name);
|
||||
if (index != -1) {
|
||||
_groups[index] = ContactGroup(
|
||||
name: name,
|
||||
|
||||
Reference in new issue
Block a user