forked from Nexus/nexus
fixup logic for not init-ing UP
An XOR was never the right choice for this
This commit is contained in:
parent
30b922d390
commit
009ba504e3
1 changed files with 1 additions and 1 deletions
|
|
@ -21,7 +21,7 @@ import "package:window_manager/window_manager.dart";
|
|||
class UnifiedPushController extends AsyncNotifier<bool> {
|
||||
@override
|
||||
Future<bool> build() async {
|
||||
if (Platform.isLinux ^ Platform.isAndroid) return false;
|
||||
if (!Platform.isLinux && !Platform.isAndroid) return false;
|
||||
|
||||
final client = ref.watch(ClientController.provider.notifier);
|
||||
final registered = await UnifiedPush.initialize(
|
||||
|
|
|
|||
Loading…
Reference in a new issue