refactor: Update SDK

This commit is contained in:
Christian Pauly 2021-05-20 13:59:55 +02:00
commit 91f52956f0
26 changed files with 57 additions and 187 deletions

View file

@ -98,7 +98,7 @@ class SettingsNotificationsController extends State<SettingsNotifications> {
void setNotificationSetting(NotificationSettingsItem item, bool enabled) {
showFutureLoadingDialog(
context: context,
future: () => Matrix.of(context).client.enablePushRule(
future: () => Matrix.of(context).client.setPushRuleEnabled(
'global',
item.type,
item.key,