treewide: use dot shorthands where possible
Now this feature is stable, we should use it. I might have missed some usecases, but these can be added in future commits.
This commit is contained in:
parent
6281c1d13a
commit
d2ec5f035b
67 changed files with 391 additions and 534 deletions
|
|
@ -34,7 +34,7 @@ class RoomMenu extends ConsumerWidget {
|
|||
final vias = ref.watch(ViaController.provider(room!));
|
||||
|
||||
await Clipboard.setData(
|
||||
ClipboardData(
|
||||
.new(
|
||||
text:
|
||||
"matrix:roomid/${room!.metadata?.id.substring(1)}$vias)",
|
||||
),
|
||||
|
|
@ -63,7 +63,7 @@ class RoomMenu extends ConsumerWidget {
|
|||
Navigator.of(context).pop();
|
||||
final snackbar = ScaffoldMessenger.of(context)
|
||||
.showSnackBar(
|
||||
SnackBar(
|
||||
.new(
|
||||
content: Text("Leaving room..."),
|
||||
duration: Duration(days: 1),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue