Inpatient medical report fixes

Dev_3.3_MedicalReportCR
haroon amjad 2 years ago
parent 38661621e3
commit 4dd16bde59

@ -104,8 +104,7 @@ class _HomeReportPageState extends State<HomeReportPage> with SingleTickerProvid
), ),
if (model.user != null) if (model.user != null)
Expanded( Expanded(
child: child: TabBarView(
TabBarView(
physics: BouncingScrollPhysics(), physics: BouncingScrollPhysics(),
controller: _tabController_new, controller: _tabController_new,
children: <Widget>[ children: <Widget>[
@ -249,6 +248,7 @@ class _HomeReportPageState extends State<HomeReportPage> with SingleTickerProvid
if (projectViewModel.havePrivilege(21) if (projectViewModel.havePrivilege(21)
// && _tabController_new.index == 0 // && _tabController_new.index == 0
) )
if (_tabController_new.index == 0)
Padding( Padding(
padding: EdgeInsets.only(top: 16, bottom: 16, right: 21, left: 21), padding: EdgeInsets.only(top: 16, bottom: 16, right: 21, left: 21),
child: DefaultButton( child: DefaultButton(

Loading…
Cancel
Save