Skip to content

Commit

Permalink
[#3870] Remove CurrenciesFragment navigation result logic (#3874)
Browse files Browse the repository at this point in the history
* [#3869] Remove SelectCurrencyFragment navigation result logic

* [#3870] Remove CurrenciesFragment navigation result logic
  • Loading branch information
mustafaozhan authored Sep 8, 2024
1 parent db069c8 commit de19ad5
Showing 1 changed file with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -132,11 +130,7 @@ class CurrenciesFragment : BaseVBFragment<FragmentCurrenciesBinding>() {
view?.hideKeyboard()
}

is CurrenciesEffect.ChangeBase -> setNavigationResult(
R.id.calculatorFragment,
viewEffect.newBase,
CHANGE_BASE_EVENT
)
is CurrenciesEffect.ChangeBase -> Unit // iOS only
}
}.launchIn(viewLifecycleOwner.lifecycleScope)

Expand Down

0 comments on commit de19ad5

Please sign in to comment.