|
|
|
@ -44,7 +44,7 @@ class _MyAppointmentsState extends State<MyAppointments>
|
|
|
|
void initState() {
|
|
|
|
void initState() {
|
|
|
|
_tabController = new TabController(length: 3, vsync: this);
|
|
|
|
_tabController = new TabController(length: 3, vsync: this);
|
|
|
|
WidgetsBinding.instance.addPostFrameCallback((_) {
|
|
|
|
WidgetsBinding.instance.addPostFrameCallback((_) {
|
|
|
|
if (authenticatedUserObject.isLogin) getPatientAppointmentHistory();
|
|
|
|
if (Provider.of<ProjectViewModel>(context, listen: false).isLogin) getPatientAppointmentHistory();
|
|
|
|
});
|
|
|
|
});
|
|
|
|
super.initState();
|
|
|
|
super.initState();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|