build: Update packages and flutter super.key refactoring
This commit is contained in:
parent
4605a92d17
commit
eca4825c70
129 changed files with 294 additions and 324 deletions
|
|
@ -24,9 +24,9 @@ class ChatDetails extends StatefulWidget {
|
|||
final String roomId;
|
||||
|
||||
const ChatDetails({
|
||||
Key? key,
|
||||
super.key,
|
||||
required this.roomId,
|
||||
}) : super(key: key);
|
||||
});
|
||||
|
||||
@override
|
||||
ChatDetailsController createState() => ChatDetailsController();
|
||||
|
|
@ -109,8 +109,7 @@ class ChatDetailsController extends State<ChatDetails> {
|
|||
if (adminMode)
|
||||
AlertDialogAction(label: L10n.of(context)!.create, key: 'new'),
|
||||
...aliases.result!
|
||||
.map((alias) => AlertDialogAction(key: alias, label: alias))
|
||||
.toList(),
|
||||
.map((alias) => AlertDialogAction(key: alias, label: alias)),
|
||||
],
|
||||
);
|
||||
if (select == null) return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue