Merge pull request #29 from yaso-meth/Bug-fix-1-post-launch

Bug-fix-1-post-launch
This commit is contained in:
yaso-meth
2024-12-14 23:11:48 +02:00
committed by GitHub
2 changed files with 137 additions and 142 deletions

View File

@@ -111,7 +111,7 @@ class _MIHHomeState extends State<MIHHome> {
tileList.add(MIHTile( tileList.add(MIHTile(
videoID: "Nfp4pVBZL78", videoID: "Nfp4pVBZL78",
onTap: () { onTap: () {
Navigator.of(context).popAndPushNamed( Navigator.of(context).pushNamed(
'/business-profile/set-up', '/business-profile/set-up',
arguments: widget.signedInUser, arguments: widget.signedInUser,
); );
@@ -914,10 +914,9 @@ class _MIHHomeState extends State<MIHHome> {
padding: EdgeInsets.only( padding: EdgeInsets.only(
left: width / 10, left: width / 10,
right: width / 10, right: width / 10,
//bottom: height / 5, bottom: height / 15,
//top: 20, //top: 20,
), ),
// physics: ,
// shrinkWrap: true, // shrinkWrap: true,
itemCount: searchApp(pbswitch[_selectedIndex], appSearch).length, itemCount: searchApp(pbswitch[_selectedIndex], appSearch).length,
gridDelegate: const SliverGridDelegateWithMaxCrossAxisExtent( gridDelegate: const SliverGridDelegateWithMaxCrossAxisExtent(

View File

@@ -159,8 +159,7 @@ class _AddPatientState extends State<AddPatient> {
} }
Widget displayForm() { Widget displayForm() {
return SingleChildScrollView( return Column(
child: Column(
children: [ children: [
Text( Text(
"Personal Details", "Personal Details",
@@ -171,8 +170,7 @@ class _AddPatientState extends State<AddPatient> {
color: MzanziInnovationHub.of(context)!.theme.secondaryColor(), color: MzanziInnovationHub.of(context)!.theme.secondaryColor(),
), ),
), ),
Divider( Divider(color: MzanziInnovationHub.of(context)!.theme.secondaryColor()),
color: MzanziInnovationHub.of(context)!.theme.secondaryColor()),
const SizedBox(height: 10.0), const SizedBox(height: 10.0),
MIHTextField( MIHTextField(
controller: idController, controller: idController,
@@ -225,8 +223,7 @@ class _AddPatientState extends State<AddPatient> {
color: MzanziInnovationHub.of(context)!.theme.secondaryColor(), color: MzanziInnovationHub.of(context)!.theme.secondaryColor(),
), ),
), ),
Divider( Divider(color: MzanziInnovationHub.of(context)!.theme.secondaryColor()),
color: MzanziInnovationHub.of(context)!.theme.secondaryColor()),
const SizedBox(height: 10.0), const SizedBox(height: 10.0),
MIHDropdownField( MIHDropdownField(
controller: medAidController, controller: medAidController,
@@ -301,7 +298,6 @@ class _AddPatientState extends State<AddPatient> {
), ),
), ),
], ],
),
); );
} }