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:
parent
d016a663d8
commit
52a1eedc7e
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user