Sign page: added user check for accepting notes of a delivery
This commit is contained in:
@ -53,9 +53,7 @@ class _DeliveryAppState extends State<DeliveryApp> {
|
||||
(context) => TourBloc(
|
||||
opBloc: context.read<OperationBloc>(),
|
||||
tourRepository: TourRepository(
|
||||
service: DeliveryInfoService(
|
||||
config: currentAppState.config,
|
||||
),
|
||||
service: DeliveryInfoService(),
|
||||
),
|
||||
),
|
||||
),
|
||||
@ -64,7 +62,9 @@ class _DeliveryAppState extends State<DeliveryApp> {
|
||||
(context) => NoteBloc(
|
||||
opBloc: context.read<OperationBloc>(),
|
||||
repository: NoteRepository(
|
||||
service: NoteService(config: currentAppState.config),
|
||||
service: NoteService(
|
||||
backendUrl: currentAppState.config.backendUrl,
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
@ -73,12 +73,12 @@ class _DeliveryAppState extends State<DeliveryApp> {
|
||||
(context) => DeliveryBloc(
|
||||
opBloc: context.read<OperationBloc>(),
|
||||
noteRepository: NoteRepository(
|
||||
service: NoteService(config: currentAppState.config),
|
||||
service: NoteService(
|
||||
backendUrl: currentAppState.config.backendUrl,
|
||||
),
|
||||
),
|
||||
repository: DeliveryRepository(
|
||||
service: DeliveryInfoService(
|
||||
config: currentAppState.config,
|
||||
),
|
||||
service: DeliveryInfoService(),
|
||||
),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user