diff --git a/src/plugins/network.ts b/src/plugins/network.ts index 0108e2f68..bac159079 100644 --- a/src/plugins/network.ts +++ b/src/plugins/network.ts @@ -29,7 +29,7 @@ declare var navigator: any; *
 // before we determine the connection type. Might need to wait
 * // prior to doing any api requests as well. * setTimeout(() => { - * if (Network.connection === 'wifi') { + * if (Network.type === 'wifi') { * console.log('we got a wifi connection, woohoo!'); * } * }, 3000);