Fixed typos
All checks were successful
update version / increment-build-number (push) Successful in 18s
All checks were successful
update version / increment-build-number (push) Successful in 18s
This commit is contained in:
parent
bdb5aaa606
commit
7a8f01536a
@ -61,7 +61,7 @@ class _ChatListState extends State<ChatList> {
|
|||||||
|
|
||||||
ConfirmDialog(
|
ConfirmDialog(
|
||||||
title: "Chat starten",
|
title: "Chat starten",
|
||||||
content: "Möchtest du einen Chat mit nutzer '$username' starten?",
|
content: "Möchtest du einen Chat mit Nutzer '$username' starten?",
|
||||||
confirmButton: "Chat starten",
|
confirmButton: "Chat starten",
|
||||||
onConfirm: () {
|
onConfirm: () {
|
||||||
CreateRoom(CreateRoomParams(
|
CreateRoom(CreateRoomParams(
|
||||||
|
@ -140,7 +140,7 @@ class _ChatTileState extends State<ChatTile> {
|
|||||||
visible: widget.data.isFavorite,
|
visible: widget.data.isFavorite,
|
||||||
replacement: ListTile(
|
replacement: ListTile(
|
||||||
leading: const Icon(Icons.star_outline),
|
leading: const Icon(Icons.star_outline),
|
||||||
title: const Text("Zu favoriten hinzufügen"),
|
title: const Text("Zu Favoriten hinzufügen"),
|
||||||
onTap: () {
|
onTap: () {
|
||||||
SetFavorite(widget.data.token, true).run().then((value) => widget.query(renew: true));
|
SetFavorite(widget.data.token, true).run().then((value) => widget.query(renew: true));
|
||||||
Navigator.of(context).pop();
|
Navigator.of(context).pop();
|
||||||
@ -148,7 +148,7 @@ class _ChatTileState extends State<ChatTile> {
|
|||||||
),
|
),
|
||||||
child: ListTile(
|
child: ListTile(
|
||||||
leading: const Icon(Icons.stars_outlined),
|
leading: const Icon(Icons.stars_outlined),
|
||||||
title: const Text("Von favoriten entfernen"),
|
title: const Text("Von Favoriten entfernen"),
|
||||||
onTap: () {
|
onTap: () {
|
||||||
SetFavorite(widget.data.token, false).run().then((value) => widget.query(renew: true));
|
SetFavorite(widget.data.token, false).run().then((value) => widget.query(renew: true));
|
||||||
Navigator.of(context).pop();
|
Navigator.of(context).pop();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user