chore: Follow up matrix native oidc
This commit is contained in:
parent
9c49141f9e
commit
aba8c3faf2
13 changed files with 63 additions and 58 deletions
|
|
@ -21,7 +21,6 @@ abstract class AppConfig {
|
|||
static const double spaceBorderRadius = 11.0;
|
||||
static const double columnWidth = 360.0;
|
||||
|
||||
static const String website = 'https://fluffy.chat';
|
||||
static const String enablePushTutorial =
|
||||
'https://fluffy.chat/faq/#push_without_google_services';
|
||||
static const String encryptionTutorial =
|
||||
|
|
@ -31,7 +30,7 @@ abstract class AppConfig {
|
|||
static const String howDoIGetStickersTutorial =
|
||||
'https://fluffy.chat/faq/#how_do_i_get_stickers';
|
||||
static const String appId = 'im.fluffychat.FluffyChat';
|
||||
static const String appOpenUrlScheme = 'im.fluffychat';
|
||||
static const String appOpenUrlScheme = 'chat.fluffy';
|
||||
|
||||
static const String sourceCodeUrl =
|
||||
'https://github.com/krille-chan/fluffychat';
|
||||
|
|
@ -54,12 +53,6 @@ abstract class AppConfig {
|
|||
path: 'krille-chan/fluffychat/refs/heads/main/recommended_homeservers.json',
|
||||
);
|
||||
|
||||
static final Uri privacyUrl = Uri(
|
||||
scheme: 'https',
|
||||
host: 'fluffy.chat',
|
||||
path: '/en/privacy',
|
||||
);
|
||||
|
||||
static const String mainIsolatePortName = 'main_isolate';
|
||||
static const String pushIsolatePortName = 'push_isolate';
|
||||
}
|
||||
|
|
|
|||
|
|
@ -55,7 +55,17 @@ enum AppSettings<T> {
|
|||
enableSoftLogout<bool>('chat.fluffy.enable_soft_logout', false),
|
||||
enableMatrixNativeOIDC<bool>('chat.fluffy.enable_matrix_native_oidc', false),
|
||||
presetHomeserver<String>('chat.fluffy.preset_homeserver', ''),
|
||||
welcomeText<String>('chat.fluffy.welcome_text', '');
|
||||
welcomeText<String>('chat.fluffy.welcome_text', ''),
|
||||
website<String>('chat.fluffy.website_url', 'https://fluffy.chat'),
|
||||
logoUrl<String>(
|
||||
'chat.fluffy.logo_url',
|
||||
'https://fluffy.chat/assets/favicon.png',
|
||||
),
|
||||
privacyPolicy<String>(
|
||||
'chat.fluffy.privacy_policy_url',
|
||||
'https://fluffy.chat/en/privacy',
|
||||
),
|
||||
tos<String>('chat.fluffy.tos_url', 'https://fluffy.chat/en/tos');
|
||||
|
||||
final String key;
|
||||
final T defaultValue;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue