2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-04-28 05:26:47 +00:00

Update company display

This commit is contained in:
Oliver 2024-12-11 16:28:43 +11:00
parent d016a663d8
commit 52a1eedc7e

View File

@ -48,7 +48,15 @@ class _CompanyDetailState extends RefreshableState<CompanyDetailWidget> {
int attachmentCount = 0; int attachmentCount = 0;
@override @override
String getAppBarTitle() => L10().company; String getAppBarTitle() {
String title = L10().company;
if (widget.company.name.isNotEmpty) {
title += " - ${widget.company.name}";
}
return title;
}
@override @override
List<Widget> appBarActions(BuildContext context) { List<Widget> appBarActions(BuildContext context) {