Modified additional items
parent
d7324e34f1
commit
c9372f8e50
|
@ -16,11 +16,6 @@ class AdditionalItemBloc
|
|||
on<LoadAdditionalItems>((event, emit) async {
|
||||
emit(AdditionalItemsLoading());
|
||||
try {
|
||||
// final tempID = await SharedPreferences.getInstance();
|
||||
// print(tempID.getInt('tempid'));
|
||||
// final additionalItem = await GetAdditionalItems.getAdditionalItems(
|
||||
// tempID.getInt('tempid'));
|
||||
|
||||
emit(AdditionalItemsLoaded(globalAdditionalItems));
|
||||
} catch (e) {
|
||||
emit(AdditionalItemsErrorState(e.toString()));
|
||||
|
|
Loading…
Reference in New Issue