Show a dialog for new ADB key if using device.

This commit is contained in:
Simo Kinnunen
2014-10-01 21:33:47 +09:00
parent e6c1de5194
commit 95347d91f0
9 changed files with 152 additions and 109 deletions

View File

@@ -58,6 +58,7 @@ dbapi.resetUserSettings = function(email) {
}
dbapi.insertUserAdbKey = function(email, key) {
console.log('insertUserAdbKey', email, key)
return db.run(r.table('users').get(email).update({
adbKeys: r.row('adbKeys').default([]).append({
title: key.title