mirror of
https://github.com/twonlyapp/twonly-app.git
synced 2026-09-01 08:04:07 +00:00
better ui for links
This commit is contained in:
parent
c13b80990f
commit
280519d63a
1 changed files with 12 additions and 4 deletions
|
|
@ -780,10 +780,18 @@ class _CameraPreviewViewState extends State<CameraPreviewView> {
|
||||||
mc.sharedLinkForPreview != null &&
|
mc.sharedLinkForPreview != null &&
|
||||||
mc.sharedLinkForPreview!.shouldGeneratePreview &&
|
mc.sharedLinkForPreview!.shouldGeneratePreview &&
|
||||||
!mc.isVideoRecording)
|
!mc.isVideoRecording)
|
||||||
ShowTitleText(
|
Positioned(
|
||||||
title: mc.sharedLinkForPreview!.url.host,
|
top: 50,
|
||||||
desc: 'Link',
|
left: 0,
|
||||||
isLink: true,
|
right: 0,
|
||||||
|
child: Center(
|
||||||
|
child: Chip(
|
||||||
|
label: Text(mc.sharedLinkForPreview!.url.host),
|
||||||
|
onDeleted: () {
|
||||||
|
mc.setSharedLinkForPreview(null);
|
||||||
|
},
|
||||||
|
),
|
||||||
|
),
|
||||||
),
|
),
|
||||||
if (!mc.isSharePreviewIsShown &&
|
if (!mc.isSharePreviewIsShown &&
|
||||||
!mc.isVideoRecording &&
|
!mc.isVideoRecording &&
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue