Check for OTP CardList Visibility regardless of AuthMethod

This commit is contained in:
Martin Betcher 2019-10-02 21:54:14 +02:00
parent d289bcbe06
commit 7a850c408a

View file

@ -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();
}