Fix crashing bug

This commit is contained in:
Mygod
2015-11-10 18:40:18 +08:00
parent d96cb0ea9b
commit a14d3ea99c
2 changed files with 0 additions and 11 deletions
@@ -163,10 +163,4 @@ class ProfileManager(settings: SharedPreferences, dbHelper: DBHelper) {
updateProfile(profile)
profile
}
def create(): Profile = {
val profile = loadFromPreferences
createOrUpdateProfile(profile)
profile
}
}