refactor: Client in ChatPage
This commit is contained in:
parent
af71649da6
commit
217b952c45
3 changed files with 5 additions and 6 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue