From 60dd6dacaa1e2a48f0d833508197636cfa68246d Mon Sep 17 00:00:00 2001 From: Ian VanSchooten Date: Tue, 29 Oct 2024 11:24:32 -0400 Subject: [PATCH] Fix ContextCompat.registerReceiver flag --- .../src/main/kotlin/net/defined/mobile_nebula/MainActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/app/src/main/kotlin/net/defined/mobile_nebula/MainActivity.kt b/android/app/src/main/kotlin/net/defined/mobile_nebula/MainActivity.kt index 131026e..ebe71c2 100644 --- a/android/app/src/main/kotlin/net/defined/mobile_nebula/MainActivity.kt +++ b/android/app/src/main/kotlin/net/defined/mobile_nebula/MainActivity.kt @@ -100,7 +100,7 @@ class MainActivity: FlutterActivity() { apiClient = APIClient(context) - ContextCompat.registerReceiver(context, refreshReceiver, IntentFilter(ACTION_REFRESH_SITES), RECEIVER_NOT_EXPORTED) + ContextCompat.registerReceiver(context, refreshReceiver, IntentFilter(ACTION_REFRESH_SITES), ContextCompat.RECEIVER_NOT_EXPORTED) enqueueDNUpdater() }