add ui for new list view
Signed-off-by: Sahil Yeole <sahilyeole93@gmail.com>
This commit is contained in:
parent
69f643447d
commit
81fe90f605
@ -191,9 +191,11 @@ class _PeersViewState extends State<_PeersView> with WindowListener {
|
|||||||
return isDesktop
|
return isDesktop
|
||||||
? Obx(
|
? Obx(
|
||||||
() => SizedBox(
|
() => SizedBox(
|
||||||
width: 220,
|
width: peerCardUiType.value != PeerUiType.list
|
||||||
|
? 220
|
||||||
|
: MediaQuery.of(context).size.width - 227,
|
||||||
height:
|
height:
|
||||||
peerCardUiType.value == PeerUiType.grid ? 140 : 42,
|
peerCardUiType.value == PeerUiType.grid ? 140 : peerCardUiType.value != PeerUiType.list ? 42 : 45,
|
||||||
child: visibilityChild,
|
child: visibilityChild,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user