From de19ad508ff2f6967830155bbffde4573760dfb4 Mon Sep 17 00:00:00 2001 From: Mustafa Ozhan Date: Sun, 8 Sep 2024 19:20:28 +0300 Subject: [PATCH] [Oztechan/CCC#3870] Remove CurrenciesFragment navigation result logic (#3874) * [Oztechan/CCC#3869] Remove SelectCurrencyFragment navigation result logic * [Oztechan/CCC#3870] Remove CurrenciesFragment navigation result logic --- .../ui/mobile/content/currencies/CurrenciesFragment.kt | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/android/ui/mobile/src/main/kotlin/com/oztechan/ccc/android/ui/mobile/content/currencies/CurrenciesFragment.kt b/android/ui/mobile/src/main/kotlin/com/oztechan/ccc/android/ui/mobile/content/currencies/CurrenciesFragment.kt index 66602b4fee..049684f246 100755 --- a/android/ui/mobile/src/main/kotlin/com/oztechan/ccc/android/ui/mobile/content/currencies/CurrenciesFragment.kt +++ b/android/ui/mobile/src/main/kotlin/com/oztechan/ccc/android/ui/mobile/content/currencies/CurrenciesFragment.kt @@ -18,12 +18,10 @@ import com.github.submob.basemob.fragment.BaseVBFragment import com.oztechan.ccc.android.core.ad.AdManager import com.oztechan.ccc.android.ui.mobile.BuildConfig import com.oztechan.ccc.android.ui.mobile.R -import com.oztechan.ccc.android.ui.mobile.content.calculator.CalculatorFragment.Companion.CHANGE_BASE_EVENT import com.oztechan.ccc.android.ui.mobile.databinding.FragmentCurrenciesBinding import com.oztechan.ccc.android.ui.mobile.util.destroyBanner import com.oztechan.ccc.android.ui.mobile.util.hideKeyboard import com.oztechan.ccc.android.ui.mobile.util.setBannerAd -import com.oztechan.ccc.android.ui.mobile.util.setNavigationResult import com.oztechan.ccc.android.ui.mobile.util.showSnack import com.oztechan.ccc.android.ui.mobile.util.visibleIf import com.oztechan.ccc.client.core.analytics.AnalyticsManager @@ -132,11 +130,7 @@ class CurrenciesFragment : BaseVBFragment() { view?.hideKeyboard() } - is CurrenciesEffect.ChangeBase -> setNavigationResult( - R.id.calculatorFragment, - viewEffect.newBase, - CHANGE_BASE_EVENT - ) + is CurrenciesEffect.ChangeBase -> Unit // iOS only } }.launchIn(viewLifecycleOwner.lifecycleScope)