Longer version names bugfix for apps list UI

This commit is contained in:
Imran Remtulla
2023-02-19 18:20:28 -05:00
parent 6a5e7942ee
commit c376a7abec

View File

@@ -266,6 +266,7 @@ class AppsPageState extends State<AppsPage> {
) )
: null, : null,
title: Text( title: Text(
maxLines: 1,
listedApps[index].installedInfo?.name ?? listedApps[index].installedInfo?.name ??
listedApps[index].app.name, listedApps[index].app.name,
style: TextStyle( style: TextStyle(
@@ -298,11 +299,14 @@ class AppsPageState extends State<AppsPage> {
Row( Row(
mainAxisSize: MainAxisSize.min, mainAxisSize: MainAxisSize.min,
children: [ children: [
Text( Container(
'${listedApps[index].app.installedVersion ?? tr('notInstalled')}${listedApps[index].app.additionalSettings['trackOnly'] == true ? ' ${tr('estimateInBrackets')}' : ''}', constraints: const BoxConstraints(
overflow: TextOverflow.ellipsis, maxWidth: 150),
textAlign: TextAlign.end, child: Text(
) '${listedApps[index].app.installedVersion ?? tr('notInstalled')}${listedApps[index].app.additionalSettings['trackOnly'] == true ? ' ${tr('estimateInBrackets')}' : ''}',
overflow: TextOverflow.ellipsis,
textAlign: TextAlign.end,
))
]), ]),
GestureDetector( GestureDetector(
onTap: changesUrl == null onTap: changesUrl == null