Merge remote-tracking branch 'origin/fusion-app' into legacy

This commit is contained in:
2026-03-16 15:25:16 +01:00
5 changed files with 33 additions and 19 deletions

View File

@@ -97,17 +97,13 @@ class _Header extends ConsumerWidget {
width: SizeUtils.getByScreen(small: 130, big: 140),
height: 32,
child: CustomDropdown(
items: state.devices
.map(
(DeviceEntity device) {
final name = device.carrierName ?? '';
return Text(
name.length > 10 ? '${name.substring(0, 10)}...' : name,
overflow: TextOverflow.ellipsis,
);
},
)
.toList(),
items: state.devices.map((DeviceEntity device) {
final name = device.carrierName ?? '';
return Text(
name.length > 10 ? '${name.substring(0, 10)}...' : name,
overflow: TextOverflow.ellipsis,
);
}).toList(),
values: state.devices,
value: state.selectedDevice,
onChanged: (device) {
@@ -148,13 +144,13 @@ class _MenuSection extends ConsumerWidget {
text: I18n.customerService,
),
SizedBox(height: SizeUtils.getByScreen(small: 8, big: 7)),
_SectionButton(
onPressed: () {
navigationContract.pushTo(AppRoutes.dashboardHome);
},
icon: SFIcons.payments,
text: I18n.sfPay,
),
// _SectionButton(
// onPressed: () {
// navigationContract.pushTo(AppRoutes.dashboardHome);
// },
// icon: SFIcons.payments,
// text: I18n.sfPay,
// ),
SizedBox(height: SizeUtils.getByScreen(small: 8, big: 7)),
_SectionButton(
onPressed: () {