Slider on tap javítva, helyesírási hiba javítva

This commit is contained in:
Vincze József 2025-03-12 08:15:08 +01:00
parent 5c818643db
commit 9795497bbe
4 changed files with 15 additions and 6 deletions

View File

@ -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();

View File

@ -83,7 +83,7 @@ class _workTimeDetailsState extends State<workTimeDetails> {
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: <Widget>[
IconButton(

View File

@ -741,7 +741,11 @@ class _MainPageState extends State<MainPage> 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<MainPage> 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<MainPage> with TickerProviderStateMixin{
if (!_isScanVisible) ...[
TextButton(
child: const Text(
"Várakozás heladatokra...",
"Várakozás helyadatokra...",
style: TextStyle(
fontSize: 24.0,
fontWeight: FontWeight.bold,

View File

@ -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,
};
}
}
}*/