Skip to content

Commit

Permalink
Hide radio group (#4661)
Browse files Browse the repository at this point in the history
  • Loading branch information
SeniorZhai authored May 31, 2024
1 parent 52686de commit 9781ae8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package one.mixin.android.web3.swap
import android.annotation.SuppressLint
import android.app.Dialog
import android.view.ViewGroup
import androidx.core.view.isVisible
import androidx.core.view.updateLayoutParams
import androidx.fragment.app.viewModels
import androidx.lifecycle.lifecycleScope
Expand Down Expand Up @@ -68,6 +69,7 @@ class SwapTokenListBottomSheetDialogFragment : MixinBottomSheetDialogFragment()
}

binding.apply {
radio.isVisible = true
assetRv.adapter = adapter
adapter.tokens = tokens!!
searchEt.et.setHint(R.string.search_swap_token)
Expand Down
3 changes: 2 additions & 1 deletion app/src/main/res/layout/fragment_asset_list_bottom_sheet.xml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_below="@id/search_view"
android:background="?attr/bg_white">
android:background="?attr/bg_white"
android:visibility="gone">

<RadioGroup
android:id="@+id/radio_group_explore"
Expand Down

0 comments on commit 9781ae8

Please sign in to comment.