Skip to content

Commit

Permalink
[Fix]: 深度链接页面主题崩溃修复
Browse files Browse the repository at this point in the history
  • Loading branch information
why committed Apr 2, 2024
1 parent 7ae064f commit cafa687
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,14 +34,7 @@ class SchemeActivity : BaseBindingActivity<ActivitySchemeBinding>() {
}

override fun initListener() {
binding.btnJump.setOnFastLimitClickListener {
ActivityUtils.startActivity(
Intent.createChooser(
Intent.parseUri("https://bgm.tv/subject_search/", Intent.URI_ALLOW_UNSAFE),
"跳转"
)
)
}

}

/**
Expand Down
8 changes: 3 additions & 5 deletions app/src/main/res/layout/activity_scheme.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,9 @@
android:layout_height="match_parent"
app:layout_behavior="com.google.android.material.appbar.AppBarLayout$ScrollingViewBehavior">

<com.xiaoyv.common.widget.button.AnimeButton
android:id="@+id/btn_jump"
<com.xiaoyv.common.widget.text.AnimeTextView
android:id="@+id/tv_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="跳转"
app:layout_constraintTop_toTopOf="parent" />
android:layout_height="match_parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
</androidx.coordinatorlayout.widget.CoordinatorLayout>

0 comments on commit cafa687

Please sign in to comment.