chore: Make privacy url not configurable

This commit is contained in:
Christian Kußowski 2025-10-20 07:10:53 +02:00
commit 136ddd7681
No known key found for this signature in database
GPG key ID: E067ECD60F1A0652
5 changed files with 13 additions and 10 deletions

View file

@ -50,4 +50,10 @@ abstract class AppConfig {
host: 'servers.joinmatrix.org',
path: 'servers.json',
);
static final Uri privacyUrl = Uri(
scheme: 'https',
host: 'github.com',
path: '/krille-chan/fluffychat/blob/main/PRIVACY.md',
);
}

View file

@ -52,10 +52,6 @@ enum AppSettings<T> {
// AppConfig-mirrored settings
applicationName<String>('chat.fluffy.application_name', 'FluffyChat'),
defaultHomeserver<String>('chat.fluffy.default_homeserver', 'matrix.org'),
privacyUrl<String>(
'chat.fluffy.privacy_url',
'https://github.com/krille-chan/fluffychat/blob/main/PRIVACY.md',
),
// colorSchemeSeed stored as ARGB int
colorSchemeSeedInt<int>(
'chat.fluffy.color_scheme_seed',