Implement desktop client layout

This commit is contained in:
Hillel Coren 2022-05-31 19:42:09 +03:00
parent f749bb8d83
commit 0a7461cdbe
2 changed files with 4 additions and 3 deletions

View File

@ -689,7 +689,8 @@ class EntityScreens extends StatelessWidget {
children: [ children: [
if (prefState.isViewerFullScreen( if (prefState.isViewerFullScreen(
state.uiState.filterEntityType)) state.uiState.filterEntityType))
Expanded( SizedBox(
height: 350,
child: topFilterChild, child: topFilterChild,
) )
else else

View File

@ -252,7 +252,7 @@ class _ClientViewFullwidthState extends State<ClientViewFullwidth>
overflow: TextOverflow.ellipsis, overflow: TextOverflow.ellipsis,
)), )),
), ),
SizedBox(width: kTableColumnGap), SizedBox(width: 4),
Flexible( Flexible(
child: OutlinedButton( child: OutlinedButton(
onPressed: () { onPressed: () {
@ -260,7 +260,7 @@ class _ClientViewFullwidthState extends State<ClientViewFullwidth>
'${contact.link}&client_hash=${client.clientHash}'; '${contact.link}&client_hash=${client.clientHash}';
Clipboard.setData(ClipboardData(text: url)); Clipboard.setData(ClipboardData(text: url));
showToast(localization.copiedToClipboard showToast(localization.copiedToClipboard
.replaceFirst(':value ', url)); .replaceFirst(':value ', ''));
}, },
child: Text( child: Text(
localization.copyLink, localization.copyLink,