diff --git a/lib/app_worktime/dailyReport.dart b/lib/app_worktime/dailyReport.dart index c273d0d..aa8980f 100644 --- a/lib/app_worktime/dailyReport.dart +++ b/lib/app_worktime/dailyReport.dart @@ -13,6 +13,8 @@ import 'package:expandable/expandable.dart'; import 'package:mobile_portal_23/classes/common_classes.dart'; late EmployeePageArguments employeePageArguments; + +// ignore_for_file: avoid_print String appDomain = "iotechnic.eu"; //String appDomain = "192.168.0.144"; GlobalKey _key = GlobalKey(); diff --git a/lib/app_worktime/worktime_details.dart b/lib/app_worktime/worktime_details.dart index b08920a..5347825 100644 --- a/lib/app_worktime/worktime_details.dart +++ b/lib/app_worktime/worktime_details.dart @@ -83,7 +83,7 @@ class _workTimeDetailsState extends State { Widget build(BuildContext context) { return Scaffold( appBar: AppBar( - title: _isData ? Text(formatter.format(selectedDate)) : const Text("ss"), + title: _isData ? Text(formatter.format(selectedDate)) : Text(formatter.format(selectedDate)), elevation: 10.0, actions: [ IconButton( diff --git a/lib/main_page.dart b/lib/main_page.dart index 3594d5d..76205b3 100644 --- a/lib/main_page.dart +++ b/lib/main_page.dart @@ -741,7 +741,11 @@ class _MainPageState extends State with TickerProviderStateMixin{ print('turned ${(state) ? 'on' : 'off'}'); } }, - onDoubleTap: () {}, + onDoubleTap: () { + _loginQR(currentQRcode.qrCode); + Navigator.pop(context); + }, + onSwipe: () { if (kDebugMode) { print('Swiped!'); @@ -749,7 +753,10 @@ class _MainPageState extends State with TickerProviderStateMixin{ _loginQR(currentQRcode.qrCode); Navigator.pop(context); }, - onTap: () {}, + onTap: () { + _loginQR(currentQRcode.qrCode); + Navigator.pop(context); + }, ), /*ElevatedButton( child: currentWorkState.compareTo('DOLGOZIK')==0 @@ -987,7 +994,7 @@ class _MainPageState extends State with TickerProviderStateMixin{ if (!_isScanVisible) ...[ TextButton( child: const Text( - "Várakozás heladatokra...", + "Várakozás helyadatokra...", style: TextStyle( fontSize: 24.0, fontWeight: FontWeight.bold, diff --git a/lib/services/device_info.dart b/lib/services/device_info.dart index 914e101..4922d99 100644 --- a/lib/services/device_info.dart +++ b/lib/services/device_info.dart @@ -1,4 +1,4 @@ -import 'package:device_info_plus/device_info_plus.dart'; +/*import 'package:device_info_plus/device_info_plus.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/services.dart'; @@ -180,4 +180,4 @@ class DeviceInfo{ 'deviceId': data.deviceId, }; } -} +}*/