Add link to privacy policy and school website in settings

This commit is contained in:
Matte23 committed 2020-12-23 19:07:31 +01:00
1 parent 8e1645a3ca
commit ea4171a75f
2 files changed
+20

No files matched your search

@@ -79,6 +79,11 @@ class ServerAPI(serverName: Servers) {
Servers.PORPORATO -> "Liceo G.F. Porporato"
}
fun getServerWebsite(server: Servers) = when (server) {
Servers.CURIE -> "https://www.curiepinerolo.edu.it/"
Servers.PORPORATO -> "https://www.liceoporporato.edu.it/"
}
fun createServer(server: Servers, ktorClient: HttpClient) = when (server) {
Servers.CURIE -> CurieServer(ktorClient)
Servers.PORPORATO -> PorporatoServer(ktorClient)