mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Update company display
This commit is contained in:
parent
d016a663d8
commit
52a1eedc7e
1 changed files with 9 additions and 1 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue