feat: Improve design
This commit is contained in:
parent
fb101e0796
commit
dc5a7cc133
3 changed files with 30 additions and 24 deletions
|
|
@ -30,6 +30,7 @@ class PresenceListItem extends StatelessWidget {
|
|||
Matrix.of(context).client.presences[room.directChatMatrixID];
|
||||
final hasStatus = presence?.presence?.statusMsg != null;
|
||||
return InkWell(
|
||||
borderRadius: BorderRadius.circular(8),
|
||||
onTap: () => presence?.presence?.statusMsg == null
|
||||
? _startChatAction(context, user.id)
|
||||
: showDialog(
|
||||
|
|
@ -41,10 +42,10 @@ class PresenceListItem extends StatelessWidget {
|
|||
),
|
||||
),
|
||||
child: Container(
|
||||
width: 80,
|
||||
width: 76,
|
||||
child: Column(
|
||||
children: <Widget>[
|
||||
SizedBox(height: 16),
|
||||
SizedBox(height: 10),
|
||||
Container(
|
||||
child: Stack(
|
||||
children: [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue