mirror of
https://github.com/inventree/inventree-app.git
synced 2025-04-29 14:06:47 +00:00
Adds some more success messages
This commit is contained in:
parent
582f6bace3
commit
6c1c687926
2
lib/l10n
2
lib/l10n
@ -1 +1 @@
|
||||
Subproject commit 5fd8e0c9fed11646d2971b0b40e209ceeb2f68db
|
||||
Subproject commit d2484e1ac773b66baaef55a5277d2d821d3bc996
|
@ -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…
x
Reference in New Issue
Block a user