Compare commits

...

2 Commits

Author SHA1 Message Date
moon
ecaa5b8eda fix amount 2026-04-08 12:19:34 +06:30
moon
d0002fa928 amount hide if zero 2026-04-08 12:05:48 +06:30
3 changed files with 6 additions and 3 deletions

View File

@ -14,8 +14,8 @@ android {
applicationId "com.utsmm.kbz"
minSdk 24
targetSdk 33
versionCode 26
versionName "2.6"
versionCode 31
versionName "2.11"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

View File

@ -202,7 +202,9 @@ public class ProcessingCardFragment extends DataBindingFragment {
sharedViewModel.setCardDataExist(true);
if(sharedViewModel.getAmountExist().getValue() != null && !sharedViewModel.getAmountExist().getValue()) {
if(sharedViewModel.getTransMenu().getValue() != TransMenu.PRE_AUTH_FULL_VOID
&& sharedViewModel.getAmountExist().getValue() != null
&& !sharedViewModel.getAmountExist().getValue()) {
routeId = R.id.action_processingCardFragment_to_inputAmountFragment;
}

View File

@ -39,6 +39,7 @@
app:layout_constraintEnd_toEndOf="parent">
<LinearLayout
android:visibility="@{sharedVM.amount.equals(`0`) || sharedVM.amount.equals(`0.00`) ? View.GONE : View.VISIBLE}"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"