From bc66bcdbeb0ee1272ce21dfe295d93e5c6944a9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matej=20Ba=C4=8Do?= Date: Tue, 11 Mar 2025 13:22:30 +0000 Subject: [PATCH] Remove version --- .env.example | 1 - .gitignore | 2 -- lib/data/models/project_info.dart | 2 -- lib/data/repository/appwrite_repository.dart | 2 -- lib/ui/components/collapsible_bottomsheet.dart | 9 --------- 5 files changed, 16 deletions(-) diff --git a/.env.example b/.env.example index 4a3653e..549edfc 100644 --- a/.env.example +++ b/.env.example @@ -1,4 +1,3 @@ -APPWRITE_VERSION= APPWRITE_PROJECT_ID= APPWRITE_PROJECT_NAME= APPWRITE_PUBLIC_ENDPOINT= diff --git a/.gitignore b/.gitignore index 8c76384..26e5e28 100644 --- a/.gitignore +++ b/.gitignore @@ -83,5 +83,3 @@ fastlane/sign&cert *.save ._* *.bak - -*.sh \ No newline at end of file diff --git a/lib/data/models/project_info.dart b/lib/data/models/project_info.dart index 79574b7..dd310ac 100644 --- a/lib/data/models/project_info.dart +++ b/lib/data/models/project_info.dart @@ -3,12 +3,10 @@ class ProjectInfo { final String endpoint; final String projectId; final String projectName; - final String version; ProjectInfo({ required this.endpoint, required this.projectId, required this.projectName, - required this.version, }); } diff --git a/lib/data/repository/appwrite_repository.dart b/lib/data/repository/appwrite_repository.dart index 5e274a5..4619a6f 100644 --- a/lib/data/repository/appwrite_repository.dart +++ b/lib/data/repository/appwrite_repository.dart @@ -8,7 +8,6 @@ import 'package:appwrite_flutter_starter_kit/data/models/project_info.dart'; /// It provides a helper method to ping the server. class AppwriteRepository { static const String pingPath = "/ping"; - static const String appwriteVersion = String.fromEnvironment('APPWRITE_VERSION'); static const String appwriteProjectId = String.fromEnvironment('APPWRITE_PROJECT_ID'); static const String appwriteProjectName = String.fromEnvironment('APPWRITE_PROJECT_NAME'); static const String appwritePublicEndpoint = String.fromEnvironment('APPWRITE_PUBLIC_ENDPOINT'); @@ -35,7 +34,6 @@ class AppwriteRepository { endpoint: appwritePublicEndpoint, projectId: appwriteProjectId, projectName: appwriteProjectName, - version: appwriteVersion, ); } diff --git a/lib/ui/components/collapsible_bottomsheet.dart b/lib/ui/components/collapsible_bottomsheet.dart index b1695ea..0b46a07 100644 --- a/lib/ui/components/collapsible_bottomsheet.dart +++ b/lib/ui/components/collapsible_bottomsheet.dart @@ -242,15 +242,6 @@ class ProjectSection extends StatelessWidget { ProjectRow(title: "Project ID", value: projectInfo.projectId), ], ), - const SizedBox(height: 16), - Row( - mainAxisAlignment: MainAxisAlignment.spaceBetween, - children: [ - ProjectRow( - title: "Project Name", value: projectInfo.projectName), - ProjectRow(title: "Version", value: projectInfo.version), - ], - ), ], ), ),