- javaScriptSwitch.isChecked = javaScriptInt == 1
- cookiesSwitch.isChecked = cookiesInt == 1
- domStorageSwitch.isChecked = domStorageInt == 1
- formDataSwitch.isChecked = formDataInt == 1 // Form data can be removed once the minimum API >= 26.
- easyListSwitch.isChecked = easyListInt == 1
- easyPrivacySwitch.isChecked = easyPrivacyInt == 1
- fanboysAnnoyanceListSwitch.isChecked = fanboysAnnoyanceListInt == 1
- fanboysSocialBlockingListSwitch.isChecked = fanboysSocialBlockingListInt == 1
- ultraListSwitch.isChecked = ultraListInt == 1
- ultraPrivacySwitch.isChecked = ultraPrivacyInt == 1
- blockAllThirdPartyRequestsSwitch.isChecked = blockAllThirdPartyRequestsInt == 1
- pinnedSslCertificateSwitch.isChecked = pinnedSslCertificateInt == 1
- pinnedIpAddressesSwitch.isChecked = pinnedIpAddressesInt == 1
+ javaScriptSwitch.isChecked = (javaScriptInt == 1)
+ cookiesSwitch.isChecked = (cookiesInt == 1)
+ domStorageSwitch.isChecked = (domStorageInt == 1)
+ formDataSwitch.isChecked = (formDataInt == 1) // Form data can be removed once the minimum API >= 26.
+ easyListSwitch.isChecked = (easyListInt == 1)
+ easyPrivacySwitch.isChecked = (easyPrivacyInt == 1)
+ fanboysAnnoyanceListSwitch.isChecked = (fanboysAnnoyanceListInt == 1)
+ fanboysSocialBlockingListSwitch.isChecked = (fanboysSocialBlockingListInt == 1)
+ ultraListSwitch.isChecked = (ultraListInt == 1)
+ ultraPrivacySwitch.isChecked = (ultraPrivacyInt == 1)
+ blockAllThirdPartyRequestsSwitch.isChecked = (blockAllThirdPartyRequestsInt == 1)
+ pinnedSslCertificateSwitch.isChecked = (pinnedSslCertificateInt == 1)
+ pinnedIpAddressesSwitch.isChecked = (pinnedIpAddressesInt == 1)