Disable HOTP for now
This commit is contained in:
parent
d8bc4611a9
commit
f8f7ed8411
2 changed files with 1 additions and 3 deletions
|
@ -33,7 +33,7 @@ import java.net.URL;
|
||||||
import java.util.Arrays;
|
import java.util.Arrays;
|
||||||
|
|
||||||
public class Entry {
|
public class Entry {
|
||||||
public enum OTPType { TOTP, HOTP }
|
public enum OTPType { TOTP }
|
||||||
|
|
||||||
private static final OTPType DEFAULT_TYPE = OTPType.TOTP;
|
private static final OTPType DEFAULT_TYPE = OTPType.TOTP;
|
||||||
|
|
||||||
|
|
|
@ -109,8 +109,6 @@ public class MainActivity extends AppCompatActivity {
|
||||||
e.updateOTP();
|
e.updateOTP();
|
||||||
adapter.addEntry(e);
|
adapter.addEntry(e);
|
||||||
adapter.saveEntries();
|
adapter.saveEntries();
|
||||||
} else if (type == Entry.OTPType.HOTP) {
|
|
||||||
Toast.makeText(getBaseContext(), R.string.toast_tmp_hotp, Toast.LENGTH_LONG).show();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue