Skip to content

Commit

Permalink
v0.28 - bugfix TotpManualEntryFragment
Browse files Browse the repository at this point in the history
  • Loading branch information
stud0709 committed Dec 11, 2023
1 parent ee39c9e commit b6dee68
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/build.gradle
Expand Up @@ -10,8 +10,8 @@ android {
applicationId "com.onemoresecret"
minSdk 31
targetSdk 34
versionCode 27
versionName "0.27-alpha"
versionCode 28
versionName "0.28-alpha"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

Expand Down
Expand Up @@ -254,6 +254,7 @@ private void generateResponseCode(boolean force) {
Log.e(TAG, e.getMessage());
outputFragment.setMessage(null, null);
requireActivity().getMainExecutor().execute(() -> {
if (binding == null) return; //fragment has been destroyed
binding.textViewTotp.setText("-".repeat(Integer.parseInt(binding.chipDigits.getText().toString())));
binding.textViewTimer.setText("");
});
Expand Down

0 comments on commit b6dee68

Please sign in to comment.