fix: New json url for homeserver list

This commit is contained in:
krille-chan 2023-12-23 08:22:43 +01:00
commit 33839c4df8
No known key found for this signature in database
8 changed files with 138 additions and 54 deletions

View file

@ -67,6 +67,11 @@ abstract class AppConfig {
'https://github.com/googlefonts/noto-emoji/';
static const double borderRadius = 16.0;
static const double columnWidth = 360.0;
static final Uri homeserverList = Uri(
scheme: 'https',
host: 'servers.joinmatrix.org',
path: 'servers.json',
);
static void loadFromJson(Map<String, dynamic> json) {
if (json['chat_color'] != null) {