Check for OTP CardList Visibility regardless of AuthMethod
This commit is contained in:
parent
d289bcbe06
commit
7a850c408a
1 changed files with 5 additions and 2 deletions
|
@ -329,8 +329,11 @@ public class MainActivity extends BaseActivity
|
|||
// ensure the current filter string is applied after a resume
|
||||
setFilterString(this.filterString);
|
||||
}
|
||||
if(settings.getAuthMethod() == AuthMethod.DEVICE)
|
||||
findViewById(R.id.cardList).setVisibility(View.VISIBLE);
|
||||
|
||||
View cardList = findViewById(R.id.cardList);
|
||||
if(cardList.getVisibility() == View.INVISIBLE)
|
||||
cardList.setVisibility(View.VISIBLE);
|
||||
|
||||
startUpdater();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue