NTP-36502 | Sidharth Bamba | unused image removal (#14966)
This commit is contained in:
@@ -15,7 +15,6 @@ import com.navi.base.utils.NaviNetworkConnectivity
|
||||
import com.navi.base.utils.ResourceProvider
|
||||
import com.navi.base.utils.orFalse
|
||||
import com.navi.bbps.R
|
||||
import com.navi.bbps.common.AB_TESTING_COIN_UTILISATION_EXPERIMENT_NAME
|
||||
import com.navi.bbps.common.CATEGORY_ID_FASTAG
|
||||
import com.navi.bbps.common.DATE_TIME_FORMAT_DATE_MONTH_NAME_YEAR
|
||||
import com.navi.bbps.common.DATE_TIME_FORMAT_DATE_MONTH_NAME_YEAR_INPUT
|
||||
@@ -124,9 +123,6 @@ constructor(
|
||||
private val _bottomSheetUiState = MutableStateFlow<CustomerDataInputBottomSheetUIState?>(null)
|
||||
val bottomSheetUiState = _bottomSheetUiState.asStateFlow()
|
||||
|
||||
private val _isCoinUtilisationExperimentEnabled = MutableStateFlow(false)
|
||||
val isCoinUtilisationExperimentEnabled = _isCoinUtilisationExperimentEnabled.asStateFlow()
|
||||
|
||||
private val _isContinueButtonEnabled = MutableStateFlow(false)
|
||||
val isContinueButtonEnabled = _isContinueButtonEnabled.asStateFlow()
|
||||
|
||||
@@ -164,10 +160,7 @@ constructor(
|
||||
initConfig()
|
||||
fetchBillerDetails()
|
||||
updateBottomRewardsNudgeEntity()
|
||||
viewModelScope.safeLaunch {
|
||||
isCoinUtilisationExperimentEnabled()
|
||||
updateNaviBbpsRewardNudgeExperimentEnabled()
|
||||
}
|
||||
viewModelScope.safeLaunch { updateNaviBbpsRewardNudgeExperimentEnabled() }
|
||||
}
|
||||
|
||||
private fun initConfig() {
|
||||
@@ -204,16 +197,6 @@ constructor(
|
||||
_navigateToNextScreenFromHelpCta.emit(ctaData)
|
||||
}
|
||||
|
||||
private suspend fun isCoinUtilisationExperimentEnabled(): Boolean {
|
||||
val coinUtilisationExperiment =
|
||||
getABTestingExperimentUseCase.execute(
|
||||
experimentName = AB_TESTING_COIN_UTILISATION_EXPERIMENT_NAME
|
||||
)
|
||||
val isEnabled = coinUtilisationExperiment?.isEnabled.orFalse()
|
||||
_isCoinUtilisationExperimentEnabled.update { isEnabled }
|
||||
return isEnabled
|
||||
}
|
||||
|
||||
fun onInputFieldValueChanged(customerParam: CustomerParam.TextInput, inputValue: String) {
|
||||
if (inputValue.length > customerParam.maxLength) {
|
||||
return
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="134dp"
|
||||
android:height="16dp"
|
||||
android:viewportWidth="134"
|
||||
android:viewportHeight="16">
|
||||
<path
|
||||
android:pathData="M0,0H134L132.25,12.55C131.97,14.53 130.28,16 128.29,16H5.71C3.72,16 2.03,14.53 1.75,12.55L0,0Z"
|
||||
android:fillColor="#072C1B"/>
|
||||
</vector>
|
||||
@@ -1,22 +0,0 @@
|
||||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:aapt="http://schemas.android.com/aapt"
|
||||
android:width="134dp"
|
||||
android:height="16dp"
|
||||
android:viewportWidth="134"
|
||||
android:viewportHeight="16">
|
||||
<path
|
||||
android:pathData="M0,0H134L132.25,12.55C131.97,14.53 130.28,16 128.29,16H5.71C3.72,16 2.03,14.53 1.75,12.55L0,0Z">
|
||||
<aapt:attr name="android:fillColor">
|
||||
<gradient
|
||||
android:startX="-42.94"
|
||||
android:startY="-5"
|
||||
android:endX="297.79"
|
||||
android:endY="9.05"
|
||||
android:type="linear">
|
||||
<item android:offset="0" android:color="#FF1F002A"/>
|
||||
<item android:offset="0.98" android:color="#FF7E12A2"/>
|
||||
<item android:offset="1" android:color="#FF1F002A"/>
|
||||
</gradient>
|
||||
</aapt:attr>
|
||||
</path>
|
||||
</vector>
|
||||
Reference in New Issue
Block a user