Commit c68b4f84 authored by Vladislav Bogdashkin's avatar Vladislav Bogdashkin 🎣

fixes && refactoring

parent 654419dd
...@@ -125,6 +125,8 @@ class DealScreenController : ...@@ -125,6 +125,8 @@ class DealScreenController :
dealPayed.text = viewState.estate.paymentSum.toRubly() dealPayed.text = viewState.estate.paymentSum.toRubly()
dealSumToPay.text = viewState.estate.amount_pay_sum.toRubly() dealSumToPay.text = viewState.estate.amount_pay_sum.toRubly()
progressLayout.removeAllViews()
viewState.statusList.forEach { viewState.statusList.forEach {
val statusLayout = LayoutInflater.from(activity) val statusLayout = LayoutInflater.from(activity)
......
...@@ -94,7 +94,8 @@ ...@@ -94,7 +94,8 @@
android:id="@+id/progress_holder" android:id="@+id/progress_holder"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical"></LinearLayout> android:layout_marginTop="16dp"
android:orientation="vertical" />
</LinearLayout> </LinearLayout>
......
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