forked from Nexus/nexus
various small fixups
This commit is contained in:
parent
f910d87a23
commit
a2791a6717
4 changed files with 16 additions and 20 deletions
|
|
@ -132,9 +132,8 @@ class UnifiedPushController extends AsyncNotifier<bool> {
|
|||
);
|
||||
}
|
||||
|
||||
if (!alreadyRegistered &&
|
||||
!await UnifiedPush.tryUseCurrentOrDefaultDistributor()) {
|
||||
throw Exception("No UnifiedPush distributors found");
|
||||
if (!await UnifiedPush.tryUseCurrentOrDefaultDistributor()) {
|
||||
throw Exception("No UnifiedPush distributors found.");
|
||||
}
|
||||
|
||||
await UnifiedPush.register(
|
||||
|
|
|
|||
Loading…
Reference in a new issue