From 73493e222fd4bc46112e3bfb2f4ff0ab4c43dd5a Mon Sep 17 00:00:00 2001 From: Ziyaddin Sadigov Date: Fri, 30 Aug 2019 17:52:55 +0400 Subject: [PATCH] fix(network): rename onchange method name (#3146) --- src/@ionic-native/plugins/network/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/@ionic-native/plugins/network/index.ts b/src/@ionic-native/plugins/network/index.ts index ec8059a03f..68c9df6e15 100644 --- a/src/@ionic-native/plugins/network/index.ts +++ b/src/@ionic-native/plugins/network/index.ts @@ -104,7 +104,7 @@ export class Network extends IonicNativePlugin { * @return {Observable} */ @CordovaCheck() - onchange(): Observable { + onChange(): Observable { return merge(this.onConnect(), this.onDisconnect()); }