Commit 5b1541a9 authored by Vladislav Bogdashkin's avatar Vladislav Bogdashkin 🎣

fix flat infinity cycled mock

fix layout input type
parent dc8882be
...@@ -102,6 +102,7 @@ class FindFlatScreenController : ...@@ -102,6 +102,7 @@ class FindFlatScreenController :
when(viewState){ when(viewState){
is FindFlatScreenViewState.Idle -> render(viewState) is FindFlatScreenViewState.Idle -> render(viewState)
is FindFlatScreenViewState.StartTour -> render(viewState) is FindFlatScreenViewState.StartTour -> render(viewState)
is FindFlatScreenViewState.SomeError -> render(viewState)
} }
} }
......
...@@ -26,6 +26,7 @@ class FindFlatScreenPresenter @Inject constructor( ...@@ -26,6 +26,7 @@ class FindFlatScreenPresenter @Inject constructor(
override fun bindIntents() { override fun bindIntents() {
val startTourIntent = intent(FindFlatScreen::startTour) val startTourIntent = intent(FindFlatScreen::startTour)
.filter { false }
.map { FindFlatScreenViewState.StartTour(it) } .map { FindFlatScreenViewState.StartTour(it) }
val getFlatIntent = intent(FindFlatScreen::getFlat) val getFlatIntent = intent(FindFlatScreen::getFlat)
......
...@@ -37,6 +37,8 @@ ...@@ -37,6 +37,8 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:cursorVisible="true" android:cursorVisible="true"
android:includeFontPadding="false" android:includeFontPadding="false"
android:inputType="number"
android:maxLength="4"
android:singleLine="true" /> android:singleLine="true" />
</com.google.android.material.textfield.TextInputLayout> </com.google.android.material.textfield.TextInputLayout>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment