Commit 8eed34dc authored by Mygod's avatar Mygod

Create default profile when creating new profiles

parent 0fe62e25
......@@ -37,7 +37,7 @@ class Profile {
var name: String = ""
@DatabaseField
var host: String = ""
var host: String = "198.199.101.152"
// hopefully hashCode = mHandle doesn't change, currently this is true from KitKat to Nougat
@DatabaseField
......@@ -47,7 +47,7 @@ class Profile {
var remotePort: Int = 8388
@DatabaseField
var password: String = ""
var password: String = "u1rRWTssNv0p"
@DatabaseField
var method: String = "aes-256-cfb"
......
......@@ -122,14 +122,4 @@ class ProfileManager(dbHelper: DBHelper) {
None
}
}
def createDefault(): Profile = {
val profile = new Profile {
name = "Default"
host = "198.199.101.152"
remotePort = 443
password = "u1rRWTssNv0p"
}
createProfile(profile)
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment