diff --git a/cmplibrary/src/androidTest/java/com/sourcepoint/cmplibrary/campaign/CampaignManagerImplTest.kt b/cmplibrary/src/androidTest/java/com/sourcepoint/cmplibrary/campaign/CampaignManagerImplTest.kt index 9521279e1..8ca1cae25 100644 --- a/cmplibrary/src/androidTest/java/com/sourcepoint/cmplibrary/campaign/CampaignManagerImplTest.kt +++ b/cmplibrary/src/androidTest/java/com/sourcepoint/cmplibrary/campaign/CampaignManagerImplTest.kt @@ -167,7 +167,7 @@ class CampaignManagerImplTest { dataStorage.gdprExpirationDate = "2022-10-27T17:15:57.006Z" dataStorage.ccpaExpirationDate = "2025-10-27T17:15:57.006Z" - campaignManager.usNatCS = usnatMock.copy(expirationDate = "2025-10-27T17:15:57.006Z") + campaignManager.usNatConsentData = usnatMock.copy(expirationDate = "2025-10-27T17:15:57.006Z") campaignManager.isGdprExpired.assertTrue() campaignManager.isCcpaExpired.assertFalse() @@ -179,7 +179,7 @@ class CampaignManagerImplTest { dataStorage.gdprExpirationDate = "2025-10-27T17:15:57.006Z" dataStorage.ccpaExpirationDate = "2022-10-27T17:15:57.006Z" - campaignManager.usNatCS = usnatMock.copy(expirationDate = "2025-10-27T17:15:57.006Z") + campaignManager.usNatConsentData = usnatMock.copy(expirationDate = "2025-10-27T17:15:57.006Z") campaignManager.isGdprExpired.assertFalse() campaignManager.isCcpaExpired.assertTrue() @@ -191,7 +191,7 @@ class CampaignManagerImplTest { dataStorage.gdprExpirationDate = "2025-10-27T17:15:57.006Z" dataStorage.ccpaExpirationDate = "2025-10-27T17:15:57.006Z" - campaignManager.usNatCS = usnatMock.copy(expirationDate = "2022-10-27T17:15:57.006Z") + campaignManager.usNatConsentData = usnatMock.copy(expirationDate = "2022-10-27T17:15:57.006Z") campaignManager.isGdprExpired.assertFalse() campaignManager.isCcpaExpired.assertFalse() diff --git a/samples/metaapp/src/main/java/com/sourcepointmeta/metaapp/ui/property/AddUpdatePropertyFragment.kt b/samples/metaapp/src/main/java/com/sourcepointmeta/metaapp/ui/property/AddUpdatePropertyFragment.kt index d6cba92ab..e707e721a 100644 --- a/samples/metaapp/src/main/java/com/sourcepointmeta/metaapp/ui/property/AddUpdatePropertyFragment.kt +++ b/samples/metaapp/src/main/java/com/sourcepointmeta/metaapp/ui/property/AddUpdatePropertyFragment.kt @@ -85,7 +85,7 @@ class AddUpdatePropertyFragment : Fragment() { val dialogBinding = AddTargetingParameterBinding.inflate(layoutInflater) MaterialAlertDialogBuilder(requireContext()) .setTitle("Add new targeting parameter") - .setView(R.layout.add_targeting_parameter) + .setView(dialogBinding.root) .setPositiveButton("Create") { _, _ -> val key = dialogBinding.tpKeyEd.text val value = dialogBinding.tpValueEt.text @@ -99,7 +99,7 @@ class AddUpdatePropertyFragment : Fragment() { val dialogBinding = AddTargetingParameterBinding.inflate(layoutInflater) MaterialAlertDialogBuilder(requireContext()) .setTitle("Add new targeting parameter") - .setView(R.layout.add_targeting_parameter) + .setView(dialogBinding.root) .setPositiveButton("Create") { _, _ -> val key = dialogBinding.tpKeyEd.text val value = dialogBinding.tpValueEt.text @@ -113,7 +113,7 @@ class AddUpdatePropertyFragment : Fragment() { val dialogBinding = AddTargetingParameterBinding.inflate(layoutInflater) MaterialAlertDialogBuilder(requireContext()) .setTitle("Add new targeting parameter") - .setView(R.layout.add_targeting_parameter) + .setView(dialogBinding.root) .setPositiveButton("Create") { _, _ -> val key = dialogBinding.tpKeyEd.text val value = dialogBinding.tpValueEt.text