mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-14 12:06:24 +00:00
Check connection before searching
This commit is contained in:
parent
3a2b906b77
commit
89b48876fc
1 changed files with 3 additions and 0 deletions
|
|
@ -33,6 +33,9 @@ class InvenTreeDrawer extends StatelessWidget {
|
||||||
}
|
}
|
||||||
|
|
||||||
void _search() {
|
void _search() {
|
||||||
|
|
||||||
|
if (!InvenTreeAPI().checkConnection(context)) return;
|
||||||
|
|
||||||
_closeDrawer();
|
_closeDrawer();
|
||||||
|
|
||||||
showSearch(
|
showSearch(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue