Commit 33a440df authored by Sebastián Katzer's avatar Sebastián Katzer
Browse files

Remove device switches

parent e364b93b
Loading
Loading
Loading
Loading
+0 −8
Changes for www/local-notification.js: 0 added lines, 8 removed lines.
Original line number Diff line number Diff line
@@ -120,10 +120,6 @@ exports.add = function (props, callback, scope) {
            this.convertProperties(properties);
        }

        if (device.platform != 'iOS'&&device.platform != 'Android' ) {
            notifications = notifications[0];
        }

        this.exec('add', notifications, callback, scope);
    }, this);
};
@@ -188,10 +184,6 @@ exports.cancel = function (ids, callback, scope) {

    ids = this.convertIds(ids);

    if (device.platform != 'iOS'&&device.platform != 'Android' ) {
        ids = ids[0];
    }

    this.exec('cancel', ids, callback, scope);
};