mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 14:20:30 +05:30
fix: remove redundant button to close audio player
This commit is contained in:
parent
ad07582d42
commit
488c90e72c
@ -172,12 +172,6 @@ class AudioPlayerFragment : Fragment(), AudioPlayerOptions {
|
||||
.show(childFragmentManager)
|
||||
}
|
||||
|
||||
binding.close.setOnClickListener {
|
||||
activity?.unbindService(connection)
|
||||
BackgroundHelper.stopBackgroundPlay(requireContext())
|
||||
killFragment()
|
||||
}
|
||||
|
||||
binding.miniPlayerClose.setOnClickListener {
|
||||
activity?.unbindService(connection)
|
||||
BackgroundHelper.stopBackgroundPlay(requireContext())
|
||||
|
@ -64,14 +64,6 @@
|
||||
android:layout_marginHorizontal="6dp"
|
||||
android:src="@drawable/ic_video" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/close"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginHorizontal="6dp"
|
||||
android:src="@drawable/ic_close" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<FrameLayout
|
||||
|
Loading…
Reference in New Issue
Block a user