Skip to content

Commit

Permalink
Fix ios review (#90)
Browse files Browse the repository at this point in the history
* Minor changes

* Add privacy info file

* Fix Inactive members events- shown on the home screen

* Add privacy in iOS

* Add privacy in iOS
  • Loading branch information
cp-sneha-s authored Mar 30, 2024
1 parent cdb0871 commit 7e423f4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ios/PrivacyInfo.xcprivacy
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<string>NSPrivacyAccessedAPICategoryFileTimestamp</string>
<key>NSPrivacyAccessedAPITypeReasons</key>
<array>
<string>0A2A.1</string>
<string>3B52.1</string>
</array>
</dict>
</array>
Expand Down
4 changes: 2 additions & 2 deletions ios/Runner.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
1498D2331E8E89220040F4C2 /* GeneratedPluginRegistrant.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = GeneratedPluginRegistrant.m; sourceTree = "<group>"; };
200386442A0227A4004229C6 /* Runner.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = Runner.entitlements; sourceTree = "<group>"; };
2098A8512A022A2400D543AF /* RunnerDebug.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = RunnerDebug.entitlements; sourceTree = "<group>"; };
20D227A02BB6922D002B4D6B /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = text.xml; path = PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
20D227A02BB6922D002B4D6B /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; lastKnownFileType = file; name = PrivacyInfo.xcprivacy; path = ../PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
26A55DE803EBC37682D1817B /* GoogleService-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; name = "GoogleService-Info.plist"; path = "Runner/GoogleService-Info.plist"; sourceTree = "<group>"; };
3B3967151E833CAA004F5970 /* AppFrameworkInfo.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = AppFrameworkInfo.plist; path = Flutter/AppFrameworkInfo.plist; sourceTree = "<group>"; };
72C690916D5A4943B686E116 /* Pods-Runner.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Runner.release.xcconfig"; path = "Target Support Files/Pods-Runner/Pods-Runner.release.xcconfig"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -90,7 +90,6 @@
97C146E51CF9000F007C117D = {
isa = PBXGroup;
children = (
20D227A02BB6922D002B4D6B /* PrivacyInfo.xcprivacy */,
9740EEB11CF90186004384FC /* Flutter */,
97C146F01CF9000F007C117D /* Runner */,
97C146EF1CF9000F007C117D /* Products */,
Expand All @@ -111,6 +110,7 @@
97C146F01CF9000F007C117D /* Runner */ = {
isa = PBXGroup;
children = (
20D227A02BB6922D002B4D6B /* PrivacyInfo.xcprivacy */,
2098A8512A022A2400D543AF /* RunnerDebug.entitlements */,
200386442A0227A4004229C6 /* Runner.entitlements */,
9A2DD91F2949D6B7002464EF /* GoogleService-Info.plist */,
Expand Down
4 changes: 3 additions & 1 deletion lib/ui/shared/events/bloc/celebrations_bloc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,9 @@ class CelebrationsBloc extends Bloc<CelebrationEvent, CelebrationsState> {
try {
emit(state.copyWith(status: Status.loading));
final List<Employee> allEmployees = await _employeeService.getEmployees();
employees = allEmployees.where((employee) => employee.status == EmployeeStatus.active).
employees = allEmployees
.where((employee) => employee.status == EmployeeStatus.active)
.where((employee) => employee.status == EmployeeStatus.active).
map((e) {
if (e.dateOfBirth != null) {
final birthdate = e.dateOfBirth!.convertToUpcomingDay();
Expand Down

0 comments on commit 7e423f4

Please sign in to comment.