Skip to content

Commit bc66bcd

Browse files
committed
Remove version
1 parent 761fcd7 commit bc66bcd

File tree

5 files changed

+0
-16
lines changed

5 files changed

+0
-16
lines changed

.env.example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
APPWRITE_VERSION=
21
APPWRITE_PROJECT_ID=
32
APPWRITE_PROJECT_NAME=
43
APPWRITE_PUBLIC_ENDPOINT=

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,5 +83,3 @@ fastlane/sign&cert
8383
*.save
8484
._*
8585
*.bak
86-
87-
*.sh

lib/data/models/project_info.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,10 @@ class ProjectInfo {
33
final String endpoint;
44
final String projectId;
55
final String projectName;
6-
final String version;
76

87
ProjectInfo({
98
required this.endpoint,
109
required this.projectId,
1110
required this.projectName,
12-
required this.version,
1311
});
1412
}

lib/data/repository/appwrite_repository.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import 'package:appwrite_flutter_starter_kit/data/models/project_info.dart';
88
/// It provides a helper method to ping the server.
99
class AppwriteRepository {
1010
static const String pingPath = "/ping";
11-
static const String appwriteVersion = String.fromEnvironment('APPWRITE_VERSION');
1211
static const String appwriteProjectId = String.fromEnvironment('APPWRITE_PROJECT_ID');
1312
static const String appwriteProjectName = String.fromEnvironment('APPWRITE_PROJECT_NAME');
1413
static const String appwritePublicEndpoint = String.fromEnvironment('APPWRITE_PUBLIC_ENDPOINT');
@@ -35,7 +34,6 @@ class AppwriteRepository {
3534
endpoint: appwritePublicEndpoint,
3635
projectId: appwriteProjectId,
3736
projectName: appwriteProjectName,
38-
version: appwriteVersion,
3937
);
4038
}
4139

lib/ui/components/collapsible_bottomsheet.dart

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -242,15 +242,6 @@ class ProjectSection extends StatelessWidget {
242242
ProjectRow(title: "Project ID", value: projectInfo.projectId),
243243
],
244244
),
245-
const SizedBox(height: 16),
246-
Row(
247-
mainAxisAlignment: MainAxisAlignment.spaceBetween,
248-
children: [
249-
ProjectRow(
250-
title: "Project Name", value: projectInfo.projectName),
251-
ProjectRow(title: "Version", value: projectInfo.version),
252-
],
253-
),
254245
],
255246
),
256247
),

0 commit comments

Comments
 (0)