todo after #657 is done
instead of services and providers getting their own "currentAccountEmail", we should pass it in arguments to the methods. That way we achieve two things:
- the methods no longer have to throw just in case they miss current email (since it will be provided)
- we can remove a group of "middlemen classes" that only add account email to methods that need it - unneeded complexity
Additionally, ViewControllers should also receive accountEmail in their parameters from the parent view.
Somewhere in root view or router or similar there should be one single place that decides current user email and passes it down.
todo after #657 is done
instead of services and providers getting their own "currentAccountEmail", we should pass it in arguments to the methods. That way we achieve two things:
Additionally, ViewControllers should also receive
accountEmailin their parameters from the parent view.Somewhere in root view or router or similar there should be one single place that decides current user email and passes it down.