mirror of
https://github.com/R0m1k3/xtremobile.git
synced 2026-10-11 17:29:26 +02:00
v1.1.3: Allow audio to continue in background
This commit is contained in:
1 parent
6dd543a0b8
commit
774322ec13
2 files changed
+1
-9
No files matched your search
@@ -232,14 +232,6 @@ class _NativePlayerScreenState extends ConsumerState<NativePlayerScreen> with Wi
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@override
|
|
||||||
void didChangeAppLifecycleState(AppLifecycleState state) {
|
|
||||||
// Pause when app goes to background
|
|
||||||
if (state == AppLifecycleState.paused || state == AppLifecycleState.inactive) {
|
|
||||||
_player.pause();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
@override
|
@override
|
||||||
void deactivate() {
|
void deactivate() {
|
||||||
// Stop player when widget is being removed from tree
|
// Stop player when widget is being removed from tree
|
||||||
|
|||||||
@@ -108,7 +108,7 @@ class _MobileSettingsTabState extends ConsumerState<MobileSettingsTab> {
|
|||||||
),
|
),
|
||||||
SizedBox(height: 4),
|
SizedBox(height: 4),
|
||||||
Text(
|
Text(
|
||||||
'Version 1.1.2',
|
'Version 1.1.3',
|
||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 13,
|
fontSize: 13,
|
||||||
color: AppColors.textSecondary,
|
color: AppColors.textSecondary,
|
||||||
|
|||||||
Reference in new issue
Block a user