|
|
|
@ -239,7 +239,7 @@ class _LoginPageState extends State<page7_setRemind> {
|
|
|
|
text: "确认",
|
|
|
|
text: "确认",
|
|
|
|
color: Colors.blueAccent,
|
|
|
|
color: Colors.blueAccent,
|
|
|
|
onTop: () async {
|
|
|
|
onTop: () async {
|
|
|
|
if (g_bVoiceRemind != bVoiceRemind && g_remindGap != remindGap) {
|
|
|
|
if (g_bVoiceRemind != bVoiceRemind || g_remindGap != remindGap) {
|
|
|
|
if (await FlutterBackgroundService().isServiceRunning()) {
|
|
|
|
if (await FlutterBackgroundService().isServiceRunning()) {
|
|
|
|
FlutterBackgroundService().sendData({"action": "stopService"});
|
|
|
|
FlutterBackgroundService().sendData({"action": "stopService"});
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|