Track látszik a terepi bejárás térképen is, gps log jelvesztéskor.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import 'package:firebase_crashlytics/firebase_crashlytics.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:get/get.dart';
|
||||
import 'package:package_info_plus/package_info_plus.dart';
|
||||
@@ -154,9 +155,17 @@ class AppDrawer extends StatelessWidget {
|
||||
ListTile(
|
||||
leading: const Icon(Icons.volume_up_outlined),
|
||||
title: const Text('Hang és rezgés'),
|
||||
onTap: () {
|
||||
Get.back();
|
||||
onTap: () async {
|
||||
// Get.back();
|
||||
// Get.to(() => const FeedbackSettingsView());
|
||||
await FirebaseCrashlytics.instance.recordError(
|
||||
Exception('Teszt hiba - breadcrumb ellenőrzés'),
|
||||
StackTrace.current,
|
||||
reason: 'Manuális teszt',
|
||||
fatal: false);
|
||||
await FirebaseCrashlytics.instance.sendUnsentReports();
|
||||
|
||||
Get.back();
|
||||
},
|
||||
),
|
||||
|
||||
|
||||
@@ -70,6 +70,16 @@ class _RecordingContent extends StatelessWidget {
|
||||
letterSpacing: 0.5,
|
||||
),
|
||||
),
|
||||
const SizedBox(width: 5),
|
||||
Obx(() {
|
||||
if (!ctrl.gpsSignalLost.value) return const SizedBox.shrink();
|
||||
return Row(children: [
|
||||
Icon(Icons.gps_off, size: 12, color: Colors.orange),
|
||||
const SizedBox(width: 4),
|
||||
Text('GPS-ejl elveszett',
|
||||
style: TextStyle(color: Colors.orange, fontSize: 10))
|
||||
]);
|
||||
}),
|
||||
const Spacer(),
|
||||
// Kártya bezárása (csak megkisebbíti, nem állítja le)
|
||||
GestureDetector(
|
||||
|
||||
Reference in New Issue
Block a user