|
|
@ -91,9 +91,10 @@ class SettingsNotificationsView extends StatelessWidget {
|
|
|
|
value: rule.enabled,
|
|
|
|
value: rule.enabled,
|
|
|
|
onChanged: controller.isLoading
|
|
|
|
onChanged: controller.isLoading
|
|
|
|
? null
|
|
|
|
? null
|
|
|
|
: Matrix.of(context)
|
|
|
|
: rule.ruleId != '.m.rule.master' &&
|
|
|
|
.client
|
|
|
|
Matrix.of(context)
|
|
|
|
.allPushNotificationsMuted
|
|
|
|
.client
|
|
|
|
|
|
|
|
.allPushNotificationsMuted
|
|
|
|
? null
|
|
|
|
? null
|
|
|
|
: (_) => controller.togglePushRule(
|
|
|
|
: (_) => controller.togglePushRule(
|
|
|
|
category.kind,
|
|
|
|
category.kind,
|
|
|
|