- Initialize account's status dot to yellow, when Register is checked at

Account activity.
This commit is contained in:
Juha Heinanen
2020-03-19 09:00:01 +02:00
parent 94f1debece
commit dc9aa620f5

View File

@ -301,7 +301,10 @@ class AccountActivity : AppCompatActivity() {
var newRegint = -1
if (regCheck.isChecked) {
if (acc.regint != 3600) newRegint = 3600
if (acc.regint != 3600) {
newRegint = 3600
UserAgent.updateStatus(ua, R.drawable.dot_yellow)
}
} else {
if (acc.regint != 0) {
Api.ua_unregister(ua.uap)