- notifications_icon.png: gera a silhueta branca a partir do logo atual nas 5 densidades (era o drawable do Initial commit, nunca trocado) - splash.png: idem, mantendo os canvas originais e o logo a 64% da largura - apaga ic_launcher_foreground.xml e ic_launcher_monochrome.xml, vectors antigos com o roxo do FluffyChat que competiam com os PNGs por densidade - foreground service passa a usar notifications_icon em vez do inexistente ic_launcher (caia no icone do launcher) - bumpara o id do canal para tatuchat_push_v2, senao o Android mantem o icone antigo congelado no canal ja criado - titulo do foreground service: FluffyChat -> TatuChat
75 lines
2.9 KiB
Dart
75 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_v2';
|
|
static const String pushNotificationsAppId = 'chat.fluffy.tatuchat';
|
|
static const double borderRadius = 18.0;
|
|
static const double spaceBorderRadius = 11.0;
|
|
static const double muralBorderRadius = 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';
|
|
}
|