fix: launch image icon size

This commit is contained in:
Rongjian Zhang 2020-12-13 02:00:50 +08:00
parent 6036849e9b
commit 15fe6dbdb6
8 changed files with 7 additions and 6 deletions

View File

@ -49,7 +49,7 @@ EXTERNAL SOURCES:
:path: ".symlinks/plugins/webview_flutter/ios"
SPEC CHECKSUMS:
Flutter: 434fef37c0980e73bb6479ef766c45957d4b510c
Flutter: 0e3d915762c693b495b44d77113d4970485de6ec
in_app_review: 4a97249f7a2f539a0f294c2d9196b7fe35e49541
launch_review: 75d5a956ba8eaa493e9c9d4bf4c05e505e8d5ed0
package_info: 873975fc26034f0b863a300ad47e7f1ac6c7ec62

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

View File

@ -1,17 +1,17 @@
{
"images" : [
{
"filename" : "icon.png",
"filename" : "72.png",
"idiom" : "universal",
"scale" : "1x"
},
{
"filename" : "icon.png",
"filename" : "144.png",
"idiom" : "universal",
"scale" : "2x"
},
{
"filename" : "icon.png",
"filename" : "216.png",
"idiom" : "universal",
"scale" : "3x"
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 70 KiB

View File

@ -55,7 +55,7 @@ class _HtmlViewState extends State<HtmlView> {
javascriptMode: JavascriptMode.unrestricted,
onWebViewCreated: (c) async {
controller = c;
timer = Timer.periodic(Duration(milliseconds: 300), (t) {
timer = Timer.periodic(Duration(milliseconds: 1000), (t) {
updateHeight();
});
},

View File

@ -55,6 +55,7 @@ class MarkdownView extends StatelessWidget {
}
}
// TODO: Safari table width
class MarkdownWebView extends StatelessWidget {
final String html;
MarkdownWebView(this.html);
@ -73,7 +74,7 @@ html {
}
.markdown-body img {
filter:invert(100%);
}'
}
''';
}
return HtmlView(html, cssText: css);