refactor: Update to Matrix Dart SDK 0.29.9
This commit is contained in:
parent
bfd8d7f99c
commit
3d35a6adcf
10 changed files with 62 additions and 17 deletions
|
|
@ -205,10 +205,14 @@ class SettingsStyleView extends StatelessWidget {
|
|||
),
|
||||
),
|
||||
StreamBuilder(
|
||||
stream: client.onAccountData.stream.where(
|
||||
(data) =>
|
||||
data.type ==
|
||||
ApplicationAccountConfigExtension.accountDataKey,
|
||||
stream: client.onSync.stream.where(
|
||||
(syncUpdate) =>
|
||||
syncUpdate.accountData?.any(
|
||||
(accountData) =>
|
||||
accountData.type ==
|
||||
ApplicationAccountConfigExtension.accountDataKey,
|
||||
) ??
|
||||
false,
|
||||
),
|
||||
builder: (context, snapshot) {
|
||||
final accountConfig = client.applicationAccountConfig;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue