mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
chore: code clean up
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -5,8 +5,6 @@ import 'package:PiliPalaX/plugin/pl_player/index.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
|
||||
|
||||
import '../plugin/pl_player/controller.dart';
|
||||
|
||||
class ShutdownTimerService with WidgetsBindingObserver {
|
||||
static final ShutdownTimerService _instance =
|
||||
ShutdownTimerService._internal();
|
||||
@@ -70,7 +68,7 @@ class ShutdownTimerService with WidgetsBindingObserver {
|
||||
|
||||
void _showShutdownDialog() {
|
||||
if (isInBackground) {
|
||||
print("app在后台运行,不弹窗");
|
||||
debugPrint("app在后台运行,不弹窗");
|
||||
_executeShutdown();
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user