mirror of
https://github.com/danielsogl/awesome-cordova-plugins.git
synced 2025-04-27 13:33:34 +08:00
fix(network): rename onchange method name (#3146)
This commit is contained in:
parent
26447d22ea
commit
73493e222f
@ -104,7 +104,7 @@ export class Network extends IonicNativePlugin {
|
||||
* @return {Observable<any>}
|
||||
*/
|
||||
@CordovaCheck()
|
||||
onchange(): Observable<any> {
|
||||
onChange(): Observable<any> {
|
||||
return merge(this.onConnect(), this.onDisconnect());
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user