diff --git a/ios/Runner.xcodeproj/project.pbxproj b/ios/Runner.xcodeproj/project.pbxproj
index ab1714c7..bad58682 100644
--- a/ios/Runner.xcodeproj/project.pbxproj
+++ b/ios/Runner.xcodeproj/project.pbxproj
@@ -388,7 +388,7 @@
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CODE_SIGN_IDENTITY = "Apple Distribution: ITVIO, OOO (VL68C36HYS)";
CODE_SIGN_STYLE = Manual;
- CURRENT_PROJECT_VERSION = 85;
+ CURRENT_PROJECT_VERSION = 86;
DEVELOPMENT_TEAM = VL68C36HYS;
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
@@ -539,7 +539,7 @@
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CODE_SIGN_IDENTITY = "Apple Distribution: ITVIO, OOO (VL68C36HYS)";
CODE_SIGN_STYLE = Manual;
- CURRENT_PROJECT_VERSION = 85;
+ CURRENT_PROJECT_VERSION = 86;
DEVELOPMENT_TEAM = VL68C36HYS;
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
@@ -578,7 +578,7 @@
CODE_SIGN_ENTITLEMENTS = Runner/Runner.entitlements;
CODE_SIGN_IDENTITY = "Apple Distribution: ITVIO, OOO (VL68C36HYS)";
CODE_SIGN_STYLE = Manual;
- CURRENT_PROJECT_VERSION = 85;
+ CURRENT_PROJECT_VERSION = 86;
DEVELOPMENT_TEAM = VL68C36HYS;
ENABLE_BITCODE = NO;
FRAMEWORK_SEARCH_PATHS = (
diff --git a/ios/Runner/Info.plist b/ios/Runner/Info.plist
index cc28e395..511fcb71 100644
--- a/ios/Runner/Info.plist
+++ b/ios/Runner/Info.plist
@@ -21,7 +21,7 @@
CFBundleSignature
????
CFBundleVersion
- 85
+ 86
ITSAppUsesNonExemptEncryption
LSRequiresIPhoneOS
diff --git a/lib/features/plans/repositories/plans_repository.dart b/lib/features/plans/repositories/plans_repository.dart
index 6533dd90..971c6059 100644
--- a/lib/features/plans/repositories/plans_repository.dart
+++ b/lib/features/plans/repositories/plans_repository.dart
@@ -8,7 +8,8 @@ class PlansRepository {
Future> getPlansBySlug(String slug) async {
try {
- return (await plansService.getPlansBySlug(author: slug)).data;
+ final plans = (await plansService.getPlansBySlug(author: slug)).data;
+ return plans.where((plan) => plan.state == 'active').toList();
} catch (e) {
rethrow;
}
diff --git a/pubspec.yaml b/pubspec.yaml
index 60f79c44..efa03190 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -1,6 +1,6 @@
name: eatvio_app
description: A new Flutter project.
-version: 1.3.5+85
+version: 1.3.6+86
publish_to: 'none'
environment: