mirror of
https://github.com/libre-tube/LibreTube.git
synced 2025-04-27 23:40:33 +05:30
Use removeIf() instead of removeAll().
This commit is contained in:
parent
2137185529
commit
2b2c16f9f2
@ -62,7 +62,7 @@ class AudioPlayerFragment : BaseFragment(), AudioPlayerOptions {
|
||||
if (mainActivity.navController.currentDestination?.id == R.id.audioPlayerFragment) {
|
||||
mainActivity.navController.popBackStack()
|
||||
} else {
|
||||
mainActivity.navController.backQueue.removeAll {
|
||||
mainActivity.navController.backQueue.removeIf {
|
||||
it.destination.id == R.id.audioPlayerFragment
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user