mirror of
https://github.com/krille-chan/fluffychat
synced 2024-09-10 12:25:11 +00:00
docs: Mention emoji font
This commit is contained in:
parent
d916ec2937
commit
65baf17db8
3 changed files with 7 additions and 2 deletions
|
@ -157,3 +157,5 @@ Example B:
|
||||||
* Thanks to Mark for all his support and the chat background.
|
* 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.
|
* 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.
|
|
@ -32,6 +32,9 @@ abstract class AppConfig {
|
||||||
static const String pushNotificationsGatewayUrl =
|
static const String pushNotificationsGatewayUrl =
|
||||||
'https://janian.de:7023/_matrix/push/v1/notify';
|
'https://janian.de:7023/_matrix/push/v1/notify';
|
||||||
static const String pushNotificationsPusherFormat = 'event_id_only';
|
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) {
|
static void loadFromJson(Map<String, dynamic> json) {
|
||||||
if (json['application_name'] is String) {
|
if (json['application_name'] is String) {
|
||||||
|
|
|
@ -48,8 +48,8 @@ abstract class PlatformInfos {
|
||||||
onPressed: () => launch(AppConfig.sourceCodeUrl),
|
onPressed: () => launch(AppConfig.sourceCodeUrl),
|
||||||
),
|
),
|
||||||
RaisedButton(
|
RaisedButton(
|
||||||
child: Text(L10n.of(context).help),
|
child: Text(AppConfig.emojiFontName),
|
||||||
onPressed: () => launch(AppConfig.supportUrl),
|
onPressed: () => launch(AppConfig.emojiFontUrl),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
applicationIcon: Image.asset('assets/logo.png', width: 100, height: 100),
|
applicationIcon: Image.asset('assets/logo.png', width: 100, height: 100),
|
||||||
|
|
Loading…
Reference in a new issue