Skip to content

Commit b011a6c

Browse files
authored
Rename runOnMainThread to runProgressOnMainThread
1 parent 3224b20 commit b011a6c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/https/platforms/android/java/com/nativescript/https/OkHttpResponse.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ private void runProgressCallback(final OkHttpResponseProgressCallback progressCa
163163
if (progressCallback == null) {
164164
return;
165165
}
166-
if (runOnMainThread) {
166+
if (runProgressOnMainThread) {
167167
getMainHandler().post(new Runnable() {
168168
@Override
169169
public void run() {
@@ -471,4 +471,4 @@ public static String getHeaders(Response response) throws Exception {
471471
}
472472
return obj.toString();
473473
}
474-
}
474+
}

0 commit comments

Comments
 (0)