1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 00:05:16 +00:00

Display user note

This commit is contained in:
2020-05-17 14:26:52 +02:00
parent e3c11e48b2
commit 3794eca68b
4 changed files with 17 additions and 2 deletions

View File

@ -49,6 +49,8 @@ class AdvancedUserInfo extends User implements LikeElement {
accountImageURL: accountImageURL,
customEmojies: customEmojies);
bool get hasPublicNote => publicNote.isNotEmpty;
@override
LikesType get likeType => LikesType.USER;
}

View File

@ -1,4 +1,4 @@
import 'package:flutter_emoji/flutter_emoji.dart';
import 'package:comunic/utils/ui_utils.dart';
/// Optimized colons Emoji-parsed string
///
@ -30,7 +30,7 @@ class DisplayedString {
String get parsedString {
if (_parseCache == null) {
_parseCache = EmojiParser().emojify(this._string);
_parseCache = parseEmojies(this._string);
}
return _parseCache;