fix: ImageViewer again
This commit is contained in:
parent
db39fa8f92
commit
2369da14b3
2 changed files with 8 additions and 2 deletions
|
|
@ -99,8 +99,13 @@ class ChatController extends State<Chat> {
|
|||
try {
|
||||
await timeline.requestHistory(historyCount: _loadHistoryCount);
|
||||
} catch (err) {
|
||||
ScaffoldMessenger.of(context).showSnackBar(SnackBar(
|
||||
content: Text((err as Object).toLocalizedString(context))));
|
||||
ScaffoldMessenger.of(context).showSnackBar(
|
||||
SnackBar(
|
||||
content: Text(
|
||||
(err as Object).toLocalizedString(context),
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue