- Submenu Desenvolvedor em Configuracoes (Sobre o servidor, Registros, Variaveis e ambiente) - Modal Sobre maior com logo, descricao com link e rodape (codigo-fonte, licenca, fechar) - Descricao legivel no tema dark - Drawer com a logo do projeto e links de support/formulario atualizados - flutter_launcher_icons: regenera icones Android (mipmap + adaptive), Web, iOS, macOS, Windows
74 lines
2.9 KiB
Dart
74 lines
2.9 KiB
Dart
// SPDX-FileCopyrightText: 2019-Present Christian Kußowski
|
|
// SPDX-FileCopyrightText: 2019-Present Contributors to FluffyChat
|
|
//
|
|
// SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
import 'dart:ui';
|
|
|
|
abstract class AppConfig {
|
|
static const Color primaryColor = Color(0xFF00D084);
|
|
|
|
static const Color chatColor = primaryColor;
|
|
static const double messageFontSize = 16.0;
|
|
static const bool allowOtherHomeservers = true;
|
|
static const bool enableRegistration = true;
|
|
static const bool hideTypingUsernames = false;
|
|
|
|
static const String inviteLinkPrefix = 'https://matrix.to/#/';
|
|
static const String deepLinkPrefix = 'im.tatuchat://chat/';
|
|
static const String schemePrefix = 'matrix:';
|
|
static const String pushNotificationsChannelId = 'tatuchat_push';
|
|
static const String pushNotificationsAppId = 'chat.fluffy.tatuchat';
|
|
static const double borderRadius = 18.0;
|
|
static const double spaceBorderRadius = 11.0;
|
|
static const double columnWidth = 360.0;
|
|
|
|
static const String enablePushTutorial =
|
|
'https://ko-fi.com/post/How-can-I-get-Push-Notifications-without-Google-N7Q825URG6?fromEditor=true';
|
|
static const String encryptionTutorial =
|
|
'https://ko-fi.com/post/How-to-use-end-to-end-encryption-in-FluffyChat-A5O725WDR5';
|
|
static const String howDoIGetStickersTutorial =
|
|
'https://ko-fi.com/post/How-to-add-a-sticker-pack-to-FluffyChat-N4N01OXATI';
|
|
static const String appId = 'im.tatuchat.TatuChat';
|
|
static const String appOpenUrlScheme = 'im.tatuchat';
|
|
static const String appSsoUrlScheme = 'im.tatuchat.auth';
|
|
static const String canalTag = 'tatuchat_canal';
|
|
static const String muralTag = 'tatuchat_mural';
|
|
|
|
static const String sourceCodeUrl =
|
|
'https://gitea.weltonmoura.com.br/welton/tatuchat';
|
|
static const String licenseUrl =
|
|
'https://gitea.weltonmoura.com.br/welton/tatuchat/src/branch/main/LICENSE';
|
|
static const String supportUrl =
|
|
'https://gitea.weltonmoura.com.br/welton/tatuchat/issues';
|
|
static const String changelogUrl =
|
|
'https://tatuchat.weltonmoura.com.br/home/';
|
|
static const String helpUrl =
|
|
'https://ko-fi.com/post/How-can-I-support-FluffyChat-J2G325WE6I';
|
|
|
|
static const Set<String> defaultReactions = {'👍', '❤️', '😂', '😮', '😢'};
|
|
|
|
static final Uri newIssueUrl = Uri(
|
|
scheme: 'https',
|
|
host: 'gitea.weltonmoura.com.br',
|
|
path: '/welton/tatuchat/issues/new',
|
|
);
|
|
|
|
static final Uri homeserverList = Uri(
|
|
scheme: 'https',
|
|
host: 'raw.githubusercontent.com',
|
|
path: 'krille-chan/fluffychat/refs/heads/main/recommended_homeservers.json',
|
|
);
|
|
|
|
static final Uri crashReportEndpoint = Uri(
|
|
scheme: 'https',
|
|
host: 'crash.fluffy.chat',
|
|
);
|
|
|
|
static const String mainIsolatePortName = 'main_isolate';
|
|
static const String pushIsolatePortName = 'push_isolate';
|
|
static const String pushHelperCrashReportKey = 'push_helper_crash_report';
|
|
|
|
static const String vodozemacVersion = '0.8.1';
|
|
}
|