Skip to content

Commit

Permalink
Refresh token list when auth enabled
Browse files Browse the repository at this point in the history
Fixes a regression where enabling authentication causes an empty token list to be displayed
  • Loading branch information
tkterris committed Mar 28, 2021
1 parent c97ff2f commit 33d56bb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,7 @@ class MainActivity : AppCompatActivity() {
verifyAuthentication(onSuccess = {
settings.requireAuthentication = true
refreshOptionMenu()
refreshTokenList("")
}, onFailure = {
Toast.makeText(applicationContext,
R.string.unable_to_authenticate, Toast.LENGTH_SHORT)
Expand Down

0 comments on commit 33d56bb

Please sign in to comment.