2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-12 02:05:29 +00:00

Updates to search controller

This commit is contained in:
Oliver Walters
2022-05-04 11:53:11 +10:00
parent 6533cc4af6
commit 7ef7096e26
4 changed files with 14 additions and 10 deletions

View File

@ -378,11 +378,11 @@ class _InvenTreeHomePageState extends State<InvenTreeHomePage> {
icon: _notificationCounter == 0 ? FaIcon(FontAwesomeIcons.bell) : Stack(
children: <Widget>[
FaIcon(FontAwesomeIcons.bell),
new Positioned(
Positioned(
right: 0,
child: new Container(
child: Container(
padding: EdgeInsets.all(2),
decoration: new BoxDecoration(
decoration: BoxDecoration(
color: Colors.red,
borderRadius: BorderRadius.circular(20),
),
@ -390,9 +390,9 @@ class _InvenTreeHomePageState extends State<InvenTreeHomePage> {
minWidth: 12,
minHeight: 12,
),
child: new Text(
child: Text(
"${_notificationCounter}",
style: new TextStyle(
style: TextStyle(
color: Colors.white,
fontSize: 9,
),