mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-05-25 05:12:11 +00:00
bump version
This commit is contained in:
parent
dda3677907
commit
93ee6e60dd
3 changed files with 7 additions and 1 deletions
|
|
@ -9,6 +9,9 @@ RegExp emojiRegex() => RegExp(
|
|||
);
|
||||
|
||||
bool isOneEmoji(String character) {
|
||||
if (EmojiAnimationComp.animatedIcons.containsKey(character)) {
|
||||
return true;
|
||||
}
|
||||
final matches = emojiRegex().allMatches(character);
|
||||
if (matches.length == 1) {
|
||||
final match = matches.first;
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ description: "twonly, a privacy-friendly way to connect with friends through sec
|
|||
|
||||
publish_to: 'none'
|
||||
|
||||
version: 0.2.10+119
|
||||
version: 0.2.11+120
|
||||
|
||||
environment:
|
||||
sdk: ^3.11.0
|
||||
|
|
|
|||
|
|
@ -13,6 +13,9 @@ void main() {
|
|||
expect(isOneEmoji('😂'), true);
|
||||
expect(isOneEmoji('😂😂'), false);
|
||||
expect(isOneEmoji('Hallo 😂'), false);
|
||||
for (final icon in EmojiAnimationComp.animatedIcons.keys) {
|
||||
expect(isOneEmoji(icon), true);
|
||||
}
|
||||
});
|
||||
|
||||
test('test proof-of-work simple', () async {
|
||||
|
|
|
|||
Loading…
Reference in a new issue