fix: custom emote placeholder
- place emote loading spinner in the position as the emote itself - add key to preview in order to ensure proper states aligned Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
This commit is contained in:
parent
f4107a8344
commit
465d5fc3ef
2 changed files with 11 additions and 5 deletions
|
|
@ -263,6 +263,8 @@ class InputBar extends StatelessWidget {
|
|||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
children: <Widget>[
|
||||
MxcImage(
|
||||
// ensure proper ordering ...
|
||||
key: ValueKey(suggestion['name']),
|
||||
uri: suggestion['mxc'] is String
|
||||
? Uri.parse(suggestion['mxc'] ?? '')
|
||||
: null,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue