From 53b0044139a960a372aa2a6e84d4326b4596dbf1 Mon Sep 17 00:00:00 2001 From: hussainmohd-a Date: Thu, 21 Sep 2023 22:11:58 +0530 Subject: [PATCH] fix: typecast warning while passing value in intent --- .../celzero/bravedns/ui/fragment/FirewallSettingsFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/full/java/com/celzero/bravedns/ui/fragment/FirewallSettingsFragment.kt b/app/src/full/java/com/celzero/bravedns/ui/fragment/FirewallSettingsFragment.kt index 789b89a19..9a862b8b5 100644 --- a/app/src/full/java/com/celzero/bravedns/ui/fragment/FirewallSettingsFragment.kt +++ b/app/src/full/java/com/celzero/bravedns/ui/fragment/FirewallSettingsFragment.kt @@ -65,7 +65,7 @@ class FirewallSettingsFragment : Fragment(R.layout.fragment_firewall_settings) { ) intent.putExtra( CustomRulesActivity.INTENT_RULES, - CustomRulesActivity.RULES.APP_SPECIFIC_RULES + CustomRulesActivity.RULES.APP_SPECIFIC_RULES.type ) intent.putExtra(INTENT_UID, UID_EVERYBODY) startActivity(intent)