ui: Set account data after 'login'

This commit is contained in:
2021-12-27 18:18:28 +01:00
parent 2338648afb
commit e090b34158
2 changed files with 24 additions and 8 deletions

View File

@@ -49,8 +49,8 @@ class _ListViewWrapperState extends State<ListViewWrapper> {
Widget build(BuildContext build) {
return StoreConnector<MoxxyState, _ListViewWrapperViewModel>(
converter: (store) => _ListViewWrapperViewModel(
conversations: store.state.conversations
),
// TODO: Sort conversations by timestamp
conversations: store.state.conversations,
builder: (context, viewModel) {
double maxTextWidth = MediaQuery.of(context).size.width * 0.6;