Do not add new account twice plus some minor changes
This commit is contained in:
@ -113,7 +113,7 @@ class AccountActivity : AppCompatActivity() {
|
||||
val config = try {
|
||||
URL(url).readText()
|
||||
} catch (e: java.lang.Exception) {
|
||||
Log.d(TAG, "Network request failed")
|
||||
Log.d(TAG, "Failed to get account configuration from network")
|
||||
null
|
||||
}
|
||||
if (config != null && !ctx.isFinishing) {
|
||||
|
||||
@ -73,7 +73,6 @@ class AccountsActivity : AppCompatActivity() {
|
||||
newAorView.setText("")
|
||||
newAorView.hint = getString(R.string.user_domain)
|
||||
newAorView.clearFocus()
|
||||
ua.add()
|
||||
generateAccounts()
|
||||
alAdapter.notifyDataSetChanged()
|
||||
saveAccounts()
|
||||
|
||||
@ -541,7 +541,7 @@ class BaresipService: Service() {
|
||||
R.drawable.dot_white
|
||||
else
|
||||
R.drawable.dot_yellow
|
||||
uas.add(UserAgent(uap))
|
||||
uas.add(ua)
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user