This commit is contained in:
Christian Pauly 2020-01-17 11:42:48 +01:00
parent 72dce3ac1d
commit 1153085742
3 changed files with 15 additions and 7 deletions

View file

@ -1,6 +1,12 @@
# Version 0.2.4 - 2020-MM-DD # Version 0.2.4 - 2020-MM-DD
### New features
- Improved design
- Implement signing up (Still needs a matrix.org fix)
- Forward messages
- Content viewer
### Fixes ### Fixes
- Chat textfield isn't scrollable on large text - Chat textfield isn't scrollable on large text
- Text disappears in textfield on resuming the app
# Version 0.2.3 - 2020-01-08 # Version 0.2.3 - 2020-01-08
### New features ### New features

View file

@ -32,12 +32,14 @@ class ContentBanner extends StatelessWidget {
method: ThumbnailMethod.scale, method: ThumbnailMethod.scale,
); );
return InkWell( return InkWell(
onTap: () => Navigator.of(context).push( onTap: () => mxContent.mxc?.isNotEmpty ?? false
AppRoute.defaultRoute( ? Navigator.of(context).push(
context, AppRoute.defaultRoute(
ContentWebView(mxContent), context,
), ContentWebView(mxContent),
), ),
)
: null,
child: Container( child: Container(
height: 200, height: 200,
color: Theme.of(context).secondaryHeaderColor, color: Theme.of(context).secondaryHeaderColor,

View file

@ -113,7 +113,7 @@ class _ChatDetailsState extends State<ChatDetails> {
Divider(height: 1), Divider(height: 1),
widget.room.canSendEvent("m.room.avatar") && !kIsWeb widget.room.canSendEvent("m.room.avatar") && !kIsWeb
? ListTile( ? ListTile(
title: Text("Set group avatar"), title: Text("Upload group avatar"),
leading: Icon(Icons.camera), leading: Icon(Icons.camera),
onTap: () => setAvatarAction(context), onTap: () => setAvatarAction(context),
) )