Skip to content

Commit

Permalink
fix #26
Browse files Browse the repository at this point in the history
Images not loading... New version will be released and should be fine
  • Loading branch information
remdex committed Nov 11, 2020
1 parent 8828f33 commit 185c4f8
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ android {
applicationId "com.livehelperchat.chat"
minSdkVersion 16
targetSdkVersion 29
versionCode 32
versionName "1.3"
versionCode 33
versionName "1.4"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

Expand Down
8 changes: 6 additions & 2 deletions lib/widget/chat_bubble.dart
Original file line number Diff line number Diff line change
Expand Up @@ -70,15 +70,19 @@ class Bubble extends StatelessWidget {
new Padding(
padding: const EdgeInsets.only(right: 4.0, bottom: 4.0),
child: Html(
data: "<main>${message.msg}</main>",
data: message.msg,
onLinkTap: (url) {
_launchURL(url);
}
/*data: "<main>${message.msg}</main>",
customRender: {
"main": (RenderContext ctx, Widget child, attributes, e) {
return SelectableLinkify(
onOpen: (l) => _launchURL(l.url),
text: e.text,
style: TextStyle(fontSize: 16));
},
},
},*/
),
),
// positioned at bottom but object renderer needs it to calculate
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: livehelp
description: A messenger for Live Helper Chat
version: 1.0.9+9
version: 1.0.10+10
dependencies:
flutter:
sdk: flutter
Expand Down

0 comments on commit 185c4f8

Please sign in to comment.