mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 11:36:24 +00:00
Adds some more success messages
This commit is contained in:
parent
582f6bace3
commit
6c1c687926
3 changed files with 4 additions and 1 deletions
|
|
@ -9,6 +9,7 @@ import "package:flutter/cupertino.dart";
|
|||
import "package:flutter/material.dart";
|
||||
import "package:font_awesome_flutter/font_awesome_flutter.dart";
|
||||
import "package:inventree/l10.dart";
|
||||
import 'package:inventree/widget/snacks.dart';
|
||||
|
||||
|
||||
class CompanyDetailWidget extends StatefulWidget {
|
||||
|
|
@ -78,6 +79,7 @@ class _CompanyDetailState extends RefreshableState<CompanyDetailWidget> {
|
|||
L10().companyEdit,
|
||||
onSuccess: (data) async {
|
||||
refresh();
|
||||
showSnackIcon(L10().companyUpdated, success: true);
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -83,6 +83,7 @@ class _PurchaseOrderDetailState extends RefreshableState<PurchaseOrderDetailWidg
|
|||
L10().purchaseOrderEdit,
|
||||
onSuccess: (data) async {
|
||||
refresh();
|
||||
showSnackIcon(L10().purchaseOrderUpdated, success: true);
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue