fix I dont know logo and profile link build issues
This commit is contained in:
@@ -56,7 +56,7 @@ class _MihBusinessProfilePreviewState extends State<MihBusinessProfilePreview> {
|
|||||||
)
|
)
|
||||||
: widget.imageFile == null
|
: widget.imageFile == null
|
||||||
? Icon(
|
? Icon(
|
||||||
MihIcons.iDontKnow,
|
MihIcons.mihIDontKnow,
|
||||||
size: profilePictureWidth,
|
size: profilePictureWidth,
|
||||||
color: MihColors.secondary(),
|
color: MihColors.secondary(),
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -111,7 +111,7 @@ class _MihCircleAvatarState extends State<MihCircleAvatar> {
|
|||||||
Visibility(
|
Visibility(
|
||||||
visible: imagePreview == null,
|
visible: imagePreview == null,
|
||||||
child: Icon(
|
child: Icon(
|
||||||
MihIcons.iDontKnow,
|
MihIcons.mihIDontKnow,
|
||||||
size: widget.width,
|
size: widget.width,
|
||||||
color: widget.frameColor,
|
color: widget.frameColor,
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -38,7 +38,7 @@ class _MihPersonalProfilePreviewState extends State<MihPersonalProfilePreview> {
|
|||||||
)
|
)
|
||||||
: widget.imageFile == null
|
: widget.imageFile == null
|
||||||
? Icon(
|
? Icon(
|
||||||
MihIcons.iDontKnow,
|
MihIcons.mihIDontKnow,
|
||||||
size: profilePictureWidth,
|
size: profilePictureWidth,
|
||||||
color: MihColors.secondary(),
|
color: MihColors.secondary(),
|
||||||
)
|
)
|
||||||
|
|||||||
+1
-1
@@ -81,7 +81,7 @@ class _BuildMinesweeperLeaderboardListState
|
|||||||
)
|
)
|
||||||
: imageFile == null
|
: imageFile == null
|
||||||
? Icon(
|
? Icon(
|
||||||
MihIcons.iDontKnow,
|
MihIcons.mihIDontKnow,
|
||||||
size: 80,
|
size: 80,
|
||||||
color: MihColors.secondary(),
|
color: MihColors.secondary(),
|
||||||
)
|
)
|
||||||
|
|||||||
+1
-1
@@ -143,7 +143,7 @@ class _MihFavouriteBusinessesState extends State<MihFavouriteBusinesses> {
|
|||||||
children: [
|
children: [
|
||||||
const SizedBox(height: 50),
|
const SizedBox(height: 50),
|
||||||
Icon(
|
Icon(
|
||||||
MihIcons.iDontKnow,
|
MihIcons.mihIDontKnow,
|
||||||
size: 165,
|
size: 165,
|
||||||
color: MihColors.secondary(),
|
color: MihColors.secondary(),
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -314,7 +314,7 @@ class _MihSearchMzansiState extends State<MihSearchMzansi> {
|
|||||||
children: [
|
children: [
|
||||||
const SizedBox(height: 50),
|
const SizedBox(height: 50),
|
||||||
Icon(
|
Icon(
|
||||||
MihIcons.iDontKnow,
|
MihIcons.mihIDontKnow,
|
||||||
size: 165,
|
size: 165,
|
||||||
color: MihColors.secondary(),
|
color: MihColors.secondary(),
|
||||||
),
|
),
|
||||||
@@ -499,7 +499,7 @@ class _MihSearchMzansiState extends State<MihSearchMzansi> {
|
|||||||
children: [
|
children: [
|
||||||
const SizedBox(height: 50),
|
const SizedBox(height: 50),
|
||||||
Icon(
|
Icon(
|
||||||
MihIcons.iDontKnow,
|
MihIcons.mihIDontKnow,
|
||||||
size: 165,
|
size: 165,
|
||||||
color: MihColors.secondary(),
|
color: MihColors.secondary(),
|
||||||
),
|
),
|
||||||
|
|||||||
+1
-1
@@ -90,7 +90,7 @@ class _MihBusinessDetailsViewState extends State<MihBusinessDetailsView> {
|
|||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
return Icon(
|
return Icon(
|
||||||
MihIcons.iDontKnow,
|
MihIcons.mihIDontKnow,
|
||||||
size: profilePictureWidth,
|
size: profilePictureWidth,
|
||||||
color: MihColors.secondary(),
|
color: MihColors.secondary(),
|
||||||
);
|
);
|
||||||
|
|||||||
+1
-1
@@ -214,7 +214,7 @@ class _MihBusinessQrCodeState extends State<MihBusinessQrCode> {
|
|||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
return Icon(
|
return Icon(
|
||||||
MihIcons.iDontKnow,
|
MihIcons.mihIDontKnow,
|
||||||
size: profilePictureWidth,
|
size: profilePictureWidth,
|
||||||
color: MihColors.primary(),
|
color: MihColors.primary(),
|
||||||
);
|
);
|
||||||
|
|||||||
+1
-1
@@ -46,7 +46,7 @@ class _MihBusinessUserSearchState extends State<MihBusinessUserSearch> {
|
|||||||
children: [
|
children: [
|
||||||
const SizedBox(height: 50),
|
const SizedBox(height: 50),
|
||||||
Icon(
|
Icon(
|
||||||
MihIcons.iDontKnow,
|
MihIcons.mihIDontKnow,
|
||||||
size: 165,
|
size: 165,
|
||||||
color: MihColors.secondary(),
|
color: MihColors.secondary(),
|
||||||
),
|
),
|
||||||
|
|||||||
+2
-4
@@ -96,7 +96,7 @@ class _MihPersonalProfileViewState extends State<MihPersonalProfileView> {
|
|||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
return Icon(
|
return Icon(
|
||||||
MihIcons.iDontKnow,
|
MihIcons.mihIDontKnow,
|
||||||
size: profilePictureWidth,
|
size: profilePictureWidth,
|
||||||
color: MihColors.secondary(),
|
color: MihColors.secondary(),
|
||||||
);
|
);
|
||||||
@@ -167,10 +167,8 @@ class _MihPersonalProfileViewState extends State<MihPersonalProfileView> {
|
|||||||
if (asyncSnapshot.connectionState ==
|
if (asyncSnapshot.connectionState ==
|
||||||
ConnectionState.done &&
|
ConnectionState.done &&
|
||||||
asyncSnapshot.hasData) {
|
asyncSnapshot.hasData) {
|
||||||
directoryProvider.setPersonalLinks(
|
|
||||||
personalLinks: asyncSnapshot.data!);
|
|
||||||
return MihProfileLinks(
|
return MihProfileLinks(
|
||||||
links: directoryProvider.personalLinks,
|
links: asyncSnapshot.requireData,
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
return Wrap(
|
return Wrap(
|
||||||
|
|||||||
+1
-1
@@ -213,7 +213,7 @@ class _MihPersonalQrCodeState extends State<MihPersonalQrCode> {
|
|||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
return Icon(
|
return Icon(
|
||||||
MihIcons.iDontKnow,
|
MihIcons.mihIDontKnow,
|
||||||
size: profilePictureWidth,
|
size: profilePictureWidth,
|
||||||
color: MihColors.primary(),
|
color: MihColors.primary(),
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -764,7 +764,7 @@ class _BuildLoyaltyCardListState extends State<BuildLoyaltyCardList> {
|
|||||||
children: [
|
children: [
|
||||||
const SizedBox(height: 50),
|
const SizedBox(height: 50),
|
||||||
Icon(
|
Icon(
|
||||||
MihIcons.iDontKnow,
|
MihIcons.mihIDontKnow,
|
||||||
size: 165,
|
size: 165,
|
||||||
color: MihColors.secondary(),
|
color: MihColors.secondary(),
|
||||||
),
|
),
|
||||||
|
|||||||
+1
-1
@@ -86,7 +86,7 @@ class _MihPatientSearchState extends State<MihPatientSearch> {
|
|||||||
children: [
|
children: [
|
||||||
const SizedBox(height: 50),
|
const SizedBox(height: 50),
|
||||||
Icon(
|
Icon(
|
||||||
MihIcons.iDontKnow,
|
MihIcons.mihIDontKnow,
|
||||||
size: 165,
|
size: 165,
|
||||||
color: MihColors.secondary(),
|
color: MihColors.secondary(),
|
||||||
),
|
),
|
||||||
|
|||||||
+1
-1
@@ -70,7 +70,7 @@ class _MyPatientListState extends State<MyPatientList> {
|
|||||||
children: [
|
children: [
|
||||||
const SizedBox(height: 50),
|
const SizedBox(height: 50),
|
||||||
Icon(
|
Icon(
|
||||||
MihIcons.iDontKnow,
|
MihIcons.mihIDontKnow,
|
||||||
size: 165,
|
size: 165,
|
||||||
color: MihColors.secondary(),
|
color: MihColors.secondary(),
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -21,8 +21,6 @@ class MzansiDirectoryProvider extends ChangeNotifier {
|
|||||||
AppUser? selectedUser;
|
AppUser? selectedUser;
|
||||||
String searchTerm;
|
String searchTerm;
|
||||||
String businessTypeFilter;
|
String businessTypeFilter;
|
||||||
List<ProfileLink> personalLinks = [];
|
|
||||||
List<ProfileLink> businessLinks = [];
|
|
||||||
|
|
||||||
MzansiDirectoryProvider({
|
MzansiDirectoryProvider({
|
||||||
this.toolIndex = 0,
|
this.toolIndex = 0,
|
||||||
@@ -119,14 +117,4 @@ class MzansiDirectoryProvider extends ChangeNotifier {
|
|||||||
this.businessTypeFilter = businessTypeFilter;
|
this.businessTypeFilter = businessTypeFilter;
|
||||||
notifyListeners();
|
notifyListeners();
|
||||||
}
|
}
|
||||||
|
|
||||||
void setPersonalLinks({required List<ProfileLink> personalLinks}) {
|
|
||||||
this.personalLinks = personalLinks;
|
|
||||||
notifyListeners();
|
|
||||||
}
|
|
||||||
|
|
||||||
void setBusinessLinks({required List<ProfileLink> businessLinks}) {
|
|
||||||
this.businessLinks = businessLinks;
|
|
||||||
notifyListeners();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user