- Go directly to Accounts activity when baresip is started without
any accounts.
This commit is contained in:
@@ -190,6 +190,11 @@ class AccountsActivity : AppCompatActivity() {
|
||||
accounts)
|
||||
}
|
||||
|
||||
fun noAccounts(): Boolean {
|
||||
return Utils.getFileContents(File(BaresipService.filesPath + "/accounts"))
|
||||
.length == 0
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user