chore: Follow up push rules
This commit is contained in:
parent
1147ddf91d
commit
0106c0f6f6
1 changed files with 4 additions and 3 deletions
|
|
@ -91,9 +91,10 @@ class SettingsNotificationsView extends StatelessWidget {
|
|||
value: rule.enabled,
|
||||
onChanged: controller.isLoading
|
||||
? null
|
||||
: Matrix.of(context)
|
||||
.client
|
||||
.allPushNotificationsMuted
|
||||
: rule.ruleId != '.m.rule.master' &&
|
||||
Matrix.of(context)
|
||||
.client
|
||||
.allPushNotificationsMuted
|
||||
? null
|
||||
: (_) => controller.togglePushRule(
|
||||
category.kind,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue