refactor: Client in ChatPage

This commit is contained in:
Krille 2023-03-25 14:58:51 +01:00
commit 217b952c45
3 changed files with 5 additions and 6 deletions

View file

@ -296,7 +296,7 @@ class _ChatAccountPicker extends StatelessWidget {
return Padding(
padding: const EdgeInsets.all(8.0),
child: FutureBuilder<Profile>(
future: controller.sendingClient!.fetchOwnProfile(),
future: controller.sendingClient.fetchOwnProfile(),
builder: (context, snapshot) => PopupMenuButton<String>(
onSelected: (mxid) => _popupMenuButtonSelected(mxid, context),
itemBuilder: (BuildContext context) => clients