mirror of
https://gitlab.com/comunic/comunicmobile
synced 2025-06-19 00:05:16 +00:00
Display user note
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user