Clean up
This commit is contained in:
parent
72dce3ac1d
commit
1153085742
3 changed files with 15 additions and 7 deletions
|
|
@ -32,12 +32,14 @@ class ContentBanner extends StatelessWidget {
|
|||
method: ThumbnailMethod.scale,
|
||||
);
|
||||
return InkWell(
|
||||
onTap: () => Navigator.of(context).push(
|
||||
AppRoute.defaultRoute(
|
||||
context,
|
||||
ContentWebView(mxContent),
|
||||
),
|
||||
),
|
||||
onTap: () => mxContent.mxc?.isNotEmpty ?? false
|
||||
? Navigator.of(context).push(
|
||||
AppRoute.defaultRoute(
|
||||
context,
|
||||
ContentWebView(mxContent),
|
||||
),
|
||||
)
|
||||
: null,
|
||||
child: Container(
|
||||
height: 200,
|
||||
color: Theme.of(context).secondaryHeaderColor,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue