Skip to content

Commit

Permalink
Remove test code
Browse files Browse the repository at this point in the history
  • Loading branch information
SeniorZhai committed Dec 4, 2024
1 parent 17f92c5 commit 18535e0
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 45 deletions.
13 changes: 0 additions & 13 deletions app/src/main/java/one/mixin/android/ui/landing/LandingFragment.kt
Original file line number Diff line number Diff line change
Expand Up @@ -54,19 +54,6 @@ class LandingFragment : Fragment(R.layout.fragment_landing) {
MobileFragment.TAG,
)
}
binding.userTv1.setOnClickListener { v ->
navTo(MnemonicPhraseFragment.newInstance(words = ArrayList<String>().apply {
addAll(testAccount[0].split(" "))
}), MnemonicPhraseFragment.TAG)
}
binding.userTv2.setOnClickListener { v ->
navTo(MnemonicPhraseFragment.newInstance(words = ArrayList<String>().apply {
addAll(testAccount[1].split(" "))
}), MnemonicPhraseFragment.TAG)
}
}

private val testAccount = listOf(
"" , "" // Todo add test account
)
}
32 changes: 0 additions & 32 deletions app/src/main/res/layout/fragment_landing.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,38 +55,6 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" />

<Button
style="@style/AppTheme.MaterialButton"
android:id="@+id/user_tv_1"
android:layout_width="0dp"
android:layout_height="48dp"
android:layout_marginBottom="16dp"
android:text="user1"
android:textColor="@color/white"
android:layout_marginStart="36dp"
android:layout_marginEnd="18dp"
android:textSize="14sp"
android:textFontWeight="500"
app:layout_constraintBottom_toTopOf="@id/create_tv"
app:layout_constraintEnd_toStartOf="@id/user_tv_2"
app:layout_constraintStart_toStartOf="parent" />

<Button
style="@style/AppTheme.MaterialButton"
android:id="@+id/user_tv_2"
android:layout_width="0dp"
android:layout_height="48dp"
android:layout_marginBottom="16dp"
android:text="user2"
android:textColor="@color/white"
android:layout_marginStart="18dp"
android:layout_marginEnd="36dp"
android:textSize="14sp"
android:textFontWeight="500"
app:layout_constraintBottom_toTopOf="@id/create_tv"
app:layout_constraintStart_toEndOf="@id/user_tv_1"
app:layout_constraintEnd_toEndOf="parent"/>

<Button
style="@style/AppTheme.MaterialButton"
android:id="@+id/create_tv"
Expand Down

0 comments on commit 18535e0

Please sign in to comment.