Compare commits

...

10 Commits

Author SHA1 Message Date
unknown
6ffe4b6c33 gitignore 2021-09-04 20:29:46 +02:00
unknown
7bd5d8bd5a version bump 2021-09-04 20:24:03 +02:00
unknown
c0ffa5d726 commit 2021-09-04 20:05:48 +02:00
unknown
befb107183 mobile 2021-09-04 12:11:15 +02:00
unknown
e56488094e mobile 2021-09-02 20:15:02 +02:00
unknown
74831c3e56 beta 5 2021-09-02 20:03:00 +02:00
unknown
9d3347d680 mobile 2021-09-02 20:01:13 +02:00
unknown
25100ab7d9 add test school 2021-09-02 18:08:31 +02:00
unknown
b509adcbc9 kreten 2021-09-02 17:00:03 +02:00
unknown
d421ae9031 capitalize fix 2021-09-02 16:59:57 +02:00
6 changed files with 12 additions and 5 deletions

View File

@@ -9,3 +9,4 @@ GeneratedPluginRegistrant.java
# Remember to never publicly share your keystore.
# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
key.properties
.project

View File

@@ -20,7 +20,13 @@ class FilcAPI {
http.Response res = await http.get(Uri.parse(SCHOOL_LIST));
if (res.statusCode == 200) {
return (jsonDecode(res.body) as List).cast<Map>().map((json) => School.fromJson(json)).toList();
List<School> schools = (jsonDecode(res.body) as List).cast<Map>().map((json) => School.fromJson(json)).toList();
schools.add(School(
city: "Tiszabura",
instituteCode: "supporttest-reni-tiszabura-teszt01",
name: "FILC Éles Reni tiszabura-teszt",
));
return schools;
} else {
throw "HTTP ${res.statusCode}: ${res.body}";
}

View File

@@ -18,7 +18,7 @@ extension StringFormatUtils on String {
String capital() => this.length > 0 ? this[0].toUpperCase() + this.substring(1) : "";
String capitalize() => this.split(" ").map((w) => this.capital()).join(" ");
String capitalize() => this.split(" ").map((w) => w.capital()).join(" ");
String escapeHtml() {
String htmlString = this;

View File

@@ -3,7 +3,7 @@ description: "Nem hivatalos e-napló alkalmazás az e-Kréta rendszerhez"
homepage: https://filcnaplo.hu
publish_to: "none"
version: 3.0.0-beta.4+126
version: 3.0.0+128
environment:
sdk: ">=2.12.0 <3.0.0"