diff --git a/README.md b/README.md index eb3a3f74..6c2074ce 100644 --- a/README.md +++ b/README.md @@ -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. + +* Noto Emoji Font for the awesome emojis. \ No newline at end of file diff --git a/lib/app_config.dart b/lib/app_config.dart index cafe9f28..f5b02e74 100644 --- a/lib/app_config.dart +++ b/lib/app_config.dart @@ -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 json) { if (json['application_name'] is String) { diff --git a/lib/utils/platform_infos.dart b/lib/utils/platform_infos.dart index b274df3b..02bb7248 100644 --- a/lib/utils/platform_infos.dart +++ b/lib/utils/platform_infos.dart @@ -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),