TF-2057 Enable scroll page view when email has calendar event
(cherry picked from commit a41b10bb30634d99c203ee1b0047b2a1110e2055)
This commit is contained in:
@@ -1279,6 +1279,11 @@ class SingleEmailController extends BaseController with AppLoaderMixin {
|
|||||||
void _handleParseCalendarEventSuccess(ParseCalendarEventSuccess success) {
|
void _handleParseCalendarEventSuccess(ParseCalendarEventSuccess success) {
|
||||||
if (success.calendarEventList.isNotEmpty) {
|
if (success.calendarEventList.isNotEmpty) {
|
||||||
calendarEvent.value = success.calendarEventList.first;
|
calendarEvent.value = success.calendarEventList.first;
|
||||||
|
_enableScrollPageView();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void _enableScrollPageView() {
|
||||||
|
emailSupervisorController.scrollPhysicsPageView.value = null;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user