Merge pull request #168 from yaso-meth/QOL--Remove-alert-banner

reomve banner
This commit is contained in:
yaso-meth
2025-05-14 14:48:35 +02:00
committed by GitHub
2 changed files with 70 additions and 70 deletions

View File

@@ -199,41 +199,41 @@ class _MihBusinessHomeState extends State<MihBusinessHome>
return MihSingleChildScroll( return MihSingleChildScroll(
child: Column( child: Column(
children: [ children: [
Container( // Container(
decoration: BoxDecoration( // decoration: BoxDecoration(
borderRadius: BorderRadius.circular(10), // borderRadius: BorderRadius.circular(10),
color: MzanziInnovationHub.of(context)!.theme.errorColor(), // color: MzanziInnovationHub.of(context)!.theme.errorColor(),
), // ),
height: 40, // height: 40,
child: Row( // child: Row(
children: [ // children: [
Icon( // Icon(
Icons.warning_amber_rounded, // Icons.warning_amber_rounded,
color: MzanziInnovationHub.of(context)!.theme.primaryColor(), // color: MzanziInnovationHub.of(context)!.theme.primaryColor(),
size: 40, // size: 40,
), // ),
const SizedBox( // const SizedBox(
width: 5, // width: 5,
), // ),
Expanded( // Expanded(
child: SingleChildScrollView( // child: SingleChildScrollView(
controller: _scrollController, // controller: _scrollController,
scrollDirection: Axis.horizontal, // scrollDirection: Axis.horizontal,
child: Text( // child: Text(
maintenanceMsg, // maintenanceMsg,
style: TextStyle( // style: TextStyle(
color: MzanziInnovationHub.of(context)! // color: MzanziInnovationHub.of(context)!
.theme // .theme
.primaryColor(), // .primaryColor(),
fontSize: 20, // fontSize: 20,
fontWeight: FontWeight.bold, // fontWeight: FontWeight.bold,
), // ),
), // ),
), // ),
), // ),
], // ],
), // ),
), // ),
const SizedBox( const SizedBox(
height: 5, height: 5,
), ),

View File

@@ -244,41 +244,41 @@ class _MihPersonalHomeState extends State<MihPersonalHome>
return MihSingleChildScroll( return MihSingleChildScroll(
child: Column( child: Column(
children: [ children: [
Container( // Container(
decoration: BoxDecoration( // decoration: BoxDecoration(
borderRadius: BorderRadius.circular(10), // borderRadius: BorderRadius.circular(10),
color: MzanziInnovationHub.of(context)!.theme.errorColor(), // color: MzanziInnovationHub.of(context)!.theme.errorColor(),
), // ),
height: 40, // height: 40,
child: Row( // child: Row(
children: [ // children: [
Icon( // Icon(
Icons.warning_amber_rounded, // Icons.warning_amber_rounded,
color: MzanziInnovationHub.of(context)!.theme.primaryColor(), // color: MzanziInnovationHub.of(context)!.theme.primaryColor(),
size: 40, // size: 40,
), // ),
const SizedBox( // const SizedBox(
width: 5, // width: 5,
), // ),
Expanded( // Expanded(
child: SingleChildScrollView( // child: SingleChildScrollView(
controller: _scrollController, // controller: _scrollController,
scrollDirection: Axis.horizontal, // scrollDirection: Axis.horizontal,
child: Text( // child: Text(
maintenanceMsg, // maintenanceMsg,
style: TextStyle( // style: TextStyle(
color: MzanziInnovationHub.of(context)! // color: MzanziInnovationHub.of(context)!
.theme // .theme
.primaryColor(), // .primaryColor(),
fontSize: 20, // fontSize: 20,
fontWeight: FontWeight.bold, // fontWeight: FontWeight.bold,
), // ),
), // ),
), // ),
), // ),
], // ],
), // ),
), // ),
const SizedBox( const SizedBox(
height: 5, height: 5,
), ),