v.1.2.7 #36
@@ -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(),
|
||||
)
|
||||
|
||||
+1
-1
@@ -81,7 +81,7 @@ class _BuildMinesweeperLeaderboardListState
|
||||
)
|
||||
: imageFile == null
|
||||
? Icon(
|
||||
MihIcons.iDontKnow,
|
||||
MihIcons.mihIDontKnow,
|
||||
size: 80,
|
||||
color: MihColors.secondary(),
|
||||
)
|
||||
|
||||
+1
-1
@@ -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(),
|
||||
),
|
||||
|
||||
+1
-1
@@ -90,7 +90,7 @@ class _MihBusinessDetailsViewState extends State<MihBusinessDetailsView> {
|
||||
);
|
||||
} else {
|
||||
return Icon(
|
||||
MihIcons.iDontKnow,
|
||||
MihIcons.mihIDontKnow,
|
||||
size: profilePictureWidth,
|
||||
color: MihColors.secondary(),
|
||||
);
|
||||
|
||||
+1
-1
@@ -214,7 +214,7 @@ class _MihBusinessQrCodeState extends State<MihBusinessQrCode> {
|
||||
);
|
||||
} else {
|
||||
return Icon(
|
||||
MihIcons.iDontKnow,
|
||||
MihIcons.mihIDontKnow,
|
||||
size: profilePictureWidth,
|
||||
color: MihColors.primary(),
|
||||
);
|
||||
|
||||
+1
-1
@@ -46,7 +46,7 @@ class _MihBusinessUserSearchState extends State<MihBusinessUserSearch> {
|
||||
children: [
|
||||
const SizedBox(height: 50),
|
||||
Icon(
|
||||
MihIcons.iDontKnow,
|
||||
MihIcons.mihIDontKnow,
|
||||
size: 165,
|
||||
color: MihColors.secondary(),
|
||||
),
|
||||
|
||||
+2
-4
@@ -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(
|
||||
|
||||
+1
-1
@@ -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(),
|
||||
),
|
||||
|
||||
+1
-1
@@ -86,7 +86,7 @@ class _MihPatientSearchState extends State<MihPatientSearch> {
|
||||
children: [
|
||||
const SizedBox(height: 50),
|
||||
Icon(
|
||||
MihIcons.iDontKnow,
|
||||
MihIcons.mihIDontKnow,
|
||||
size: 165,
|
||||
color: MihColors.secondary(),
|
||||
),
|
||||
|
||||
+1
-1
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user