Skip to content

Commit 141088b

Browse files
Merge pull request #8 from thecodepapaya/dev
Sort project and blog tags alphabetically
2 parents 397a824 + 1f96b13 commit 141088b

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

lib/blogs/blog_data.dart

+4-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ class BlogData {
77
required this.tags,
88
required this.url,
99
required this.read,
10-
}) : assert(description.length < Constants.charLimitCardDesc);
10+
}) {
11+
assert(description.length < Constants.charLimitCardDesc);
12+
tags.sort();
13+
}
1114

1215
final String title;
1316
final String description;

lib/projects/project_data.dart

+4-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ class ProjectData {
77
required this.gitHub,
88
required this.link,
99
this.technologies = const [],
10-
}) : assert(description.length < Constants.charLimitCardDesc);
10+
}) {
11+
assert(description.length < Constants.charLimitCardDesc);
12+
technologies.sort();
13+
}
1114

1215
final String title;
1316
final String description;

lib/projects/projects.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ final data = [
6161
gitHub: "https://github.com/thecodepapaya/udhari",
6262
link:
6363
"https://play.google.com/store/apps/details?id=com.thecodepapaya.udhari",
64-
technologies: ["Flutter", "Django", "DRF", "Dart"],
64+
technologies: ["Flutter", "Django", "DRF", "Dart", "Python"],
6565
),
6666
ProjectData(
6767
title: "FASE - Post-covid attendance solution",

0 commit comments

Comments
 (0)