docs: Mention emoji font

This commit is contained in:
Christian Pauly 2021-01-20 19:53:19 +01:00
parent 067bf08df1
commit bb537141d7
3 changed files with 7 additions and 2 deletions

View File

@ -157,3 +157,5 @@ Example B:
* Thanks to Mark for all his support and the chat background.
* Also thanks to all translators and testers! With your help, fluffychat is now available in more than 12 languages.
* <a href="https://github.com/googlefonts/noto-emoji/">Noto Emoji Font</a> for the awesome emojis.

View File

@ -32,6 +32,9 @@ abstract class AppConfig {
static const String pushNotificationsGatewayUrl =
'https://janian.de:7023/_matrix/push/v1/notify';
static const String pushNotificationsPusherFormat = 'event_id_only';
static const String emojiFontName = 'Noto Emoji';
static const String emojiFontUrl =
'https://github.com/googlefonts/noto-emoji/';
static void loadFromJson(Map<String, dynamic> json) {
if (json['application_name'] is String) {

View File

@ -48,8 +48,8 @@ abstract class PlatformInfos {
onPressed: () => launch(AppConfig.sourceCodeUrl),
),
RaisedButton(
child: Text(L10n.of(context).help),
onPressed: () => launch(AppConfig.supportUrl),
child: Text(AppConfig.emojiFontName),
onPressed: () => launch(AppConfig.emojiFontUrl),
),
],
applicationIcon: Image.asset('assets/logo.png', width: 100, height: 100),