feat: Option to hide redacted and unknown events
This commit is contained in:
parent
29d6d7a793
commit
d500476fbc
16 changed files with 118 additions and 38 deletions
|
|
@ -8,4 +8,7 @@ abstract class AppConfig {
|
|||
'https://gitlab.com/ChristianPauly/fluffychat-flutter/issues';
|
||||
static const String sentryDsn =
|
||||
'https://8591d0d863b646feb4f3dda7e5dcab38@o256755.ingest.sentry.io/5243143';
|
||||
static bool renderHtml = false;
|
||||
static bool hideRedactedEvents = false;
|
||||
static bool hideUnknownEvents = false;
|
||||
}
|
||||
|
|
|
|||
13
lib/config/setting_keys.dart
Normal file
13
lib/config/setting_keys.dart
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
abstract class SettingKeys {
|
||||
static const String jitsiInstance = 'chat.fluffy.jitsi_instance';
|
||||
static const String wallpaper = 'chat.fluffy.wallpaper';
|
||||
static const String renderHtml = 'chat.fluffy.renderHtml';
|
||||
static const String hideRedactedEvents = 'chat.fluffy.hideRedactedEvents';
|
||||
static const String hideUnknownEvents = 'chat.fluffy.hideUnknownEvents';
|
||||
static const String sentry = 'sentry';
|
||||
static const String theme = 'theme';
|
||||
static const String amoledEnabled = 'amoled_enabled';
|
||||
static const String codeLanguage = 'code_language';
|
||||
static const String showNoGoogle = 'chat.fluffy.show_no_google';
|
||||
static const String databasePassword = 'database-password';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue