Open Th3Ph4nt0m opened 3 years ago
The app crashes only when clicking the email in the staff popover of the Dashboard.
Fixed the issue. DashboardFragment passed app context to dashboard list adapter. App context is not an activity. Instead getActivity() must be passed.
mDashboardListAdapter = new DashboardListAdapter(pius_app_for_android.getAppContext(), listDataHeader, listDataChild);
replaced by
mDashboardListAdapter = new DashboardListAdapter(getActivity(), listDataHeader, listDataChild);
Will push this directly to develop, update patch level and then release.
Describe the bug The App crashes when clicking on a staff email in the staff popover.
To Reproduce Steps to reproduce the behavior:
Expected behavior The default email app should open with the address set.
Screenshots /
Smartphone (please complete the following information):
Additional context /