mirror of
https://github.com/inventree/inventree-app.git
synced 2026-10-03 05:58:29 +00:00
Update company display
This commit is contained in:
1 parent
d016a663d8
commit
52a1eedc7e
1 file changed
+9
-1
@@ -48,7 +48,15 @@ class _CompanyDetailState extends RefreshableState<CompanyDetailWidget> {
|
||||
int attachmentCount = 0;
|
||||
|
||||
@override
|
||||
String getAppBarTitle() => L10().company;
|
||||
String getAppBarTitle() {
|
||||
String title = L10().company;
|
||||
|
||||
if (widget.company.name.isNotEmpty) {
|
||||
title += " - ${widget.company.name}";
|
||||
}
|
||||
|
||||
return title;
|
||||
}
|
||||
|
||||
@override
|
||||
List<Widget> appBarActions(BuildContext context) {
|
||||
|
||||
Reference in new issue
Block a user