remove unused images

This commit is contained in:
2025-08-01 11:37:00 +02:00
parent edb3244dd8
commit 77d5c8bc69
13 changed files with 49 additions and 129 deletions

View File

@@ -61,35 +61,6 @@ class _MIHAppDrawerState extends State<MIHAppDrawer> {
backgroundColor:
MzansiInnovationHub.of(context)!.theme.secondaryColor(),
),
// MIHProfilePicture(
// profilePictureFile: widget.propicFile,
// proPicController: proPicController,
// proPic: null,
// width: 60,
// radius: 27,
// drawerMode: true,
// editable: false,
// frameColor: MzansiInnovationHub.of(context)!.theme.primaryColor(),
// onChange: (newProPic) {},
// ),
// Stack(
// alignment: Alignment.center,
// fit: StackFit.loose,
// children: [
// CircleAvatar(
// backgroundColor:
// MzansiInnovationHub.of(context)!.theme.primaryColor(),
// backgroundImage: widget.propicFile,
// //'https://media.licdn.com/dms/image/D4D03AQGd1-QhjtWWpA/profile-displayphoto-shrink_400_400/0/1671698053061?e=2147483647&v=beta&t=a3dJI5yxs5-KeXjj10LcNCFuC9IOfa8nNn3k_Qyr0CA'),
// radius: 27,
// ),
// SizedBox(
// width: 60,
// child: Image(image: logoFrame),
// )
// ],
// ),
);
}

View File

@@ -86,24 +86,22 @@ class _MIHHomeLegacyState extends State<MIHHomeLegacy> {
// );
void setAppsNewPersonal(List<MIHTile> tileList) {
ImageProvider logo = MzansiInnovationHub.of(context)!.theme.logoImage();
if (widget.signedInUser.fname == "") {
tileList.add(MIHTile(
videoID: "jFV3NN65DtQ",
onTap: () {
Navigator.of(context).pushNamed('/mzansi-profile',
arguments: AppProfileUpdateArguments(
widget.signedInUser, widget.propicFile));
},
tileName: "Setup Profie",
tileIcon: Padding(
padding: const EdgeInsets.all(15.0),
child: Image(image: logo),
),
p: getPrim(),
s: getSec(),
));
// tileList.add(MIHTile(
// videoID: "jFV3NN65DtQ",
// onTap: () {
// Navigator.of(context).pushNamed('/mzansi-profile',
// arguments: AppProfileUpdateArguments(
// widget.signedInUser, widget.propicFile));
// },
// tileName: "Setup Profie",
// tileIcon: Padding(
// padding: const EdgeInsets.all(15.0),
// child: Image(image: logo),
// ),
// p: getPrim(),
// s: getSec(),
// ));
}
}
@@ -128,27 +126,26 @@ class _MIHHomeLegacyState extends State<MIHHomeLegacy> {
}
void setAppsPersonal(List<MIHTile> tileList) {
ImageProvider logo = MzansiInnovationHub.of(context)!.theme.logoImage();
ImageProvider aiLogo = MzansiInnovationHub.of(context)!.theme.aiLogoImage();
tileList.add(MIHTile(
videoID: "P2bM9eosJ_A",
onTap: () {
Navigator.of(context).pushNamed(
'/mzansi-profile',
arguments: AppProfileUpdateArguments(
widget.signedInUser,
widget.propicFile,
),
);
},
tileName: "Mzansi Profile",
tileIcon: Padding(
padding: const EdgeInsets.all(15.0),
child: Image(image: logo),
),
p: getPrim(),
s: getSec(),
));
// tileList.add(MIHTile(
// videoID: "P2bM9eosJ_A",
// onTap: () {
// Navigator.of(context).pushNamed(
// '/mzansi-profile',
// arguments: AppProfileUpdateArguments(
// widget.signedInUser,
// widget.propicFile,
// ),
// );
// },
// tileName: "Mzansi Profile",
// tileIcon: Padding(
// padding: const EdgeInsets.all(15.0),
// child: Image(image: logo),
// ),
// p: getPrim(),
// s: getSec(),
// ));
tileList.add(MIHTile(
videoID: "6l8h0sjt08k",
onTap: () {