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