mirror of
https://github.com/CappielloAntonio/tempo.git
synced 2026-02-01 23:13:36 +00:00
Quit service when bottom_sheet_header is dragged down
This commit is contained in:
@@ -177,6 +177,7 @@ public class MainActivity extends BaseActivity {
|
||||
break;
|
||||
case BottomSheetBehavior.STATE_HIDDEN:
|
||||
MusicPlayerRemote.pauseSong();
|
||||
MusicPlayerRemote.quitPlaying();
|
||||
mainViewModel.deleteQueue();
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user