Disable HOTP for now

This commit is contained in:
Jakob Nixdorf 2017-07-27 22:17:24 +02:00
parent d8bc4611a9
commit f8f7ed8411
No known key found for this signature in database
GPG key ID: BE99BF86574A7DBC
2 changed files with 1 additions and 3 deletions

View file

@ -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;

View file

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