Simple Changes

main_design2.0
zaid_daoud 3 years ago
parent 5890835f7b
commit 2a85d6b355

@ -16,7 +16,7 @@ class DeviceTransferInfoSection extends StatelessWidget {
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
UserProvider userProvider = Provider.of<UserProvider>(context); info.userName = Provider.of<UserProvider>(context).user.username;
final subtitle = AppLocalization.of(context).subtitle; final subtitle = AppLocalization.of(context).subtitle;
return Column( return Column(
children: [ children: [
@ -30,7 +30,7 @@ class DeviceTransferInfoSection extends StatelessWidget {
), ),
RequestInfoRow( RequestInfoRow(
title: subtitle.engineerName, title: subtitle.engineerName,
info: userProvider.user.username, info: info.userName,
), ),
RequestInfoRow( RequestInfoRow(
title: subtitle.workingHours, title: subtitle.workingHours,

Loading…
Cancel
Save