Update to new sdk
This commit is contained in:
parent
df358328df
commit
a49d0f8958
11 changed files with 161 additions and 32 deletions
|
|
@ -39,8 +39,7 @@ class MyApp extends StatelessWidget {
|
|||
),
|
||||
home: Builder(
|
||||
builder: (BuildContext context) => StreamBuilder<LoginState>(
|
||||
stream:
|
||||
Matrix.of(context).client.connection.onLoginStateChanged.stream,
|
||||
stream: Matrix.of(context).client.onLoginStateChanged.stream,
|
||||
builder: (context, snapshot) {
|
||||
if (!snapshot.hasData)
|
||||
return Scaffold(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue