fix: remove redundant button to close audio player

This commit is contained in:
Bnyro 2023-11-07 16:39:48 +01:00
parent ad07582d42
commit 488c90e72c
2 changed files with 0 additions and 14 deletions

View File

@ -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())

View File

@ -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