Skip to content

Commit 517342a

Browse files
committed
FMT: Java/Swift; also updates gradle plugin to 3.1.2 to address issue #65
1 parent bafcaaa commit 517342a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

android/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ buildscript {
88
}
99

1010
dependencies {
11-
classpath 'com.android.tools.build:gradle:3.1.0'
11+
classpath 'com.android.tools.build:gradle:3.1.2'
1212
}
1313
}
1414

android/src/main/java/com/flutter_webview_plugin/WebviewManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ boolean canGoBack() {
162162
boolean canGoForward() {
163163
return webView.canGoForward();
164164
}
165-
void hide(MethodCall call, MethodChannel.Result result) {
165+
void hide(MethodCall call, MethodChannel.Result result) {
166166
if (webView != null) {
167167
webView.setVisibility(View.INVISIBLE);
168168
}

ios/Classes/FlutterWebviewPlugin.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ - (void)handleMethodCall:(FlutterMethodCall*)call result:(FlutterResult)result {
4646
} else if ([@"resize" isEqualToString:call.method]) {
4747
[self resize:call];
4848
result(nil);
49-
} else if ([@"reloadUrl" isEqualToString:call.method]) {
49+
} else if ([@"reloadUrl" isEqualToString:call.method]) {
5050
[self reloadUrl:call];
5151
result(nil);
5252
} else if ([@"show" isEqualToString:call.method]) {

0 commit comments

Comments
 (0)