fix I dont know logo and profile link build issues

This commit is contained in:
2026-05-27 16:32:28 +02:00
parent 052f937027
commit 39bf88356f
15 changed files with 16 additions and 30 deletions
@@ -56,7 +56,7 @@ class _MihBusinessProfilePreviewState extends State<MihBusinessProfilePreview> {
)
: widget.imageFile == null
? Icon(
MihIcons.iDontKnow,
MihIcons.mihIDontKnow,
size: profilePictureWidth,
color: MihColors.secondary(),
)
@@ -111,7 +111,7 @@ class _MihCircleAvatarState extends State<MihCircleAvatar> {
Visibility(
visible: imagePreview == null,
child: Icon(
MihIcons.iDontKnow,
MihIcons.mihIDontKnow,
size: widget.width,
color: widget.frameColor,
),
@@ -38,7 +38,7 @@ class _MihPersonalProfilePreviewState extends State<MihPersonalProfilePreview> {
)
: widget.imageFile == null
? Icon(
MihIcons.iDontKnow,
MihIcons.mihIDontKnow,
size: profilePictureWidth,
color: MihColors.secondary(),
)
@@ -81,7 +81,7 @@ class _BuildMinesweeperLeaderboardListState
)
: imageFile == null
? Icon(
MihIcons.iDontKnow,
MihIcons.mihIDontKnow,
size: 80,
color: MihColors.secondary(),
)
@@ -143,7 +143,7 @@ class _MihFavouriteBusinessesState extends State<MihFavouriteBusinesses> {
children: [
const SizedBox(height: 50),
Icon(
MihIcons.iDontKnow,
MihIcons.mihIDontKnow,
size: 165,
color: MihColors.secondary(),
),
@@ -314,7 +314,7 @@ class _MihSearchMzansiState extends State<MihSearchMzansi> {
children: [
const SizedBox(height: 50),
Icon(
MihIcons.iDontKnow,
MihIcons.mihIDontKnow,
size: 165,
color: MihColors.secondary(),
),
@@ -499,7 +499,7 @@ class _MihSearchMzansiState extends State<MihSearchMzansi> {
children: [
const SizedBox(height: 50),
Icon(
MihIcons.iDontKnow,
MihIcons.mihIDontKnow,
size: 165,
color: MihColors.secondary(),
),
@@ -90,7 +90,7 @@ class _MihBusinessDetailsViewState extends State<MihBusinessDetailsView> {
);
} else {
return Icon(
MihIcons.iDontKnow,
MihIcons.mihIDontKnow,
size: profilePictureWidth,
color: MihColors.secondary(),
);
@@ -214,7 +214,7 @@ class _MihBusinessQrCodeState extends State<MihBusinessQrCode> {
);
} else {
return Icon(
MihIcons.iDontKnow,
MihIcons.mihIDontKnow,
size: profilePictureWidth,
color: MihColors.primary(),
);
@@ -46,7 +46,7 @@ class _MihBusinessUserSearchState extends State<MihBusinessUserSearch> {
children: [
const SizedBox(height: 50),
Icon(
MihIcons.iDontKnow,
MihIcons.mihIDontKnow,
size: 165,
color: MihColors.secondary(),
),
@@ -96,7 +96,7 @@ class _MihPersonalProfileViewState extends State<MihPersonalProfileView> {
);
} else {
return Icon(
MihIcons.iDontKnow,
MihIcons.mihIDontKnow,
size: profilePictureWidth,
color: MihColors.secondary(),
);
@@ -167,10 +167,8 @@ class _MihPersonalProfileViewState extends State<MihPersonalProfileView> {
if (asyncSnapshot.connectionState ==
ConnectionState.done &&
asyncSnapshot.hasData) {
directoryProvider.setPersonalLinks(
personalLinks: asyncSnapshot.data!);
return MihProfileLinks(
links: directoryProvider.personalLinks,
links: asyncSnapshot.requireData,
);
} else {
return Wrap(
@@ -213,7 +213,7 @@ class _MihPersonalQrCodeState extends State<MihPersonalQrCode> {
);
} else {
return Icon(
MihIcons.iDontKnow,
MihIcons.mihIDontKnow,
size: profilePictureWidth,
color: MihColors.primary(),
);
@@ -764,7 +764,7 @@ class _BuildLoyaltyCardListState extends State<BuildLoyaltyCardList> {
children: [
const SizedBox(height: 50),
Icon(
MihIcons.iDontKnow,
MihIcons.mihIDontKnow,
size: 165,
color: MihColors.secondary(),
),
@@ -86,7 +86,7 @@ class _MihPatientSearchState extends State<MihPatientSearch> {
children: [
const SizedBox(height: 50),
Icon(
MihIcons.iDontKnow,
MihIcons.mihIDontKnow,
size: 165,
color: MihColors.secondary(),
),
@@ -70,7 +70,7 @@ class _MyPatientListState extends State<MyPatientList> {
children: [
const SizedBox(height: 50),
Icon(
MihIcons.iDontKnow,
MihIcons.mihIDontKnow,
size: 165,
color: MihColors.secondary(),
),
@@ -21,8 +21,6 @@ class MzansiDirectoryProvider extends ChangeNotifier {
AppUser? selectedUser;
String searchTerm;
String businessTypeFilter;
List<ProfileLink> personalLinks = [];
List<ProfileLink> businessLinks = [];
MzansiDirectoryProvider({
this.toolIndex = 0,
@@ -119,14 +117,4 @@ class MzansiDirectoryProvider extends ChangeNotifier {
this.businessTypeFilter = businessTypeFilter;
notifyListeners();
}
void setPersonalLinks({required List<ProfileLink> personalLinks}) {
this.personalLinks = personalLinks;
notifyListeners();
}
void setBusinessLinks({required List<ProfileLink> businessLinks}) {
this.businessLinks = businessLinks;
notifyListeners();
}
}