fix: font size being too large accidentally in some places
This commit is contained in:
parent
8cd8f90501
commit
43dd22251c
|
@ -49,7 +49,9 @@ class MessageContent extends StatelessWidget {
|
||||||
if (event.messageType == MessageTypes.Emote) {
|
if (event.messageType == MessageTypes.Emote) {
|
||||||
html = '* $html';
|
html = '* $html';
|
||||||
}
|
}
|
||||||
final bigEmotes = event.onlyEmotes && event.numberEmotes <= 10;
|
final bigEmotes = event.onlyEmotes &&
|
||||||
|
event.numberEmotes > 0 &&
|
||||||
|
event.numberEmotes <= 10;
|
||||||
final fontSize = DefaultTextStyle.of(context).style.fontSize;
|
final fontSize = DefaultTextStyle.of(context).style.fontSize;
|
||||||
return HtmlMessage(
|
return HtmlMessage(
|
||||||
html: html,
|
html: html,
|
||||||
|
@ -81,7 +83,9 @@ class MessageContent extends StatelessWidget {
|
||||||
onPressed: () => launch(event.body),
|
onPressed: () => launch(event.body),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
final bigEmotes = event.onlyEmotes && event.numberEmotes <= 10;
|
final bigEmotes = event.onlyEmotes &&
|
||||||
|
event.numberEmotes > 0 &&
|
||||||
|
event.numberEmotes <= 10;
|
||||||
final fontSize = DefaultTextStyle.of(context).style.fontSize;
|
final fontSize = DefaultTextStyle.of(context).style.fontSize;
|
||||||
return LinkText(
|
return LinkText(
|
||||||
text: event.getLocalizedBody(L10n.of(context), hideReply: true),
|
text: event.getLocalizedBody(L10n.of(context), hideReply: true),
|
||||||
|
|
|
@ -180,8 +180,8 @@ packages:
|
||||||
dependency: "direct main"
|
dependency: "direct main"
|
||||||
description:
|
description:
|
||||||
path: "."
|
path: "."
|
||||||
ref: ba7a01ddea430a6eec2661e2f9b7714d3719c652
|
ref: d42979da12ad6749a3c47c67dc4fb0f0f57420b4
|
||||||
resolved-ref: ba7a01ddea430a6eec2661e2f9b7714d3719c652
|
resolved-ref: d42979da12ad6749a3c47c67dc4fb0f0f57420b4
|
||||||
url: "https://gitlab.com/famedly/famedlysdk.git"
|
url: "https://gitlab.com/famedly/famedlysdk.git"
|
||||||
source: git
|
source: git
|
||||||
version: "0.0.1"
|
version: "0.0.1"
|
||||||
|
|
|
@ -27,7 +27,7 @@ dependencies:
|
||||||
famedlysdk:
|
famedlysdk:
|
||||||
git:
|
git:
|
||||||
url: https://gitlab.com/famedly/famedlysdk.git
|
url: https://gitlab.com/famedly/famedlysdk.git
|
||||||
ref: ba7a01ddea430a6eec2661e2f9b7714d3719c652
|
ref: d42979da12ad6749a3c47c67dc4fb0f0f57420b4
|
||||||
|
|
||||||
localstorage: ^3.0.1+4
|
localstorage: ^3.0.1+4
|
||||||
memoryfilepicker: ^0.1.3
|
memoryfilepicker: ^0.1.3
|
||||||
|
|
Loading…
Reference in a new issue