update length magic to be more accurate
This commit is contained in:
parent
45b06fd9c1
commit
2cf42ba76e
1 changed files with 4 additions and 1 deletions
|
|
@ -31,7 +31,10 @@ class TopWidget extends ConsumerWidget {
|
|||
min(
|
||||
max(
|
||||
max(
|
||||
(message as TextMessage).text.length - 20,
|
||||
(message as TextMessage).text.length -
|
||||
(replyMessage.metadata?["displayName"] as String)
|
||||
.length -
|
||||
5,
|
||||
message.metadata?["displayName"].length,
|
||||
),
|
||||
5,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue