mirror of
https://git.meshkee.com/applications/cssd.git
synced 2026-10-13 16:38:56 +03:30
fix bugs and set progress and toast for my items server events
This commit is contained in:
@@ -256,6 +256,17 @@ class MyItemProvider extends ChangeNotifier {
|
||||
// }
|
||||
// }
|
||||
|
||||
bool isloadingButton = false;
|
||||
void resetLoadingButton() {
|
||||
isloadingButton = false;
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
void setLoadingButton() {
|
||||
isloadingButton = true;
|
||||
notifyListeners();
|
||||
}
|
||||
|
||||
Future<void> transferItems(String itemId, String userId) async {
|
||||
var response = await http.post(
|
||||
Uri.parse(Url.transferItems(itemId)),
|
||||
|
||||
Reference in New Issue
Block a user