mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-04-21 14:29:13 +00:00
Fix an issue where advanced fields were disabled inadvertently
This commit is contained in:
parent
085e8e51dc
commit
c7ef10367f
1 changed files with 4 additions and 4 deletions
|
@ -263,10 +263,10 @@ public class EditEntryActivity extends AegisActivity {
|
||||||
}
|
}
|
||||||
|
|
||||||
private void updateAdvancedFieldStatus(String otpType) {
|
private void updateAdvancedFieldStatus(String otpType) {
|
||||||
boolean isSteam = otpType.equals(SteamInfo.ID);
|
boolean enabled = !otpType.equals(SteamInfo.ID) && (!_isNew || _isManual);
|
||||||
_textDigitsLayout.setEnabled(!isSteam);
|
_textDigitsLayout.setEnabled(enabled);
|
||||||
_textPeriodCounterLayout.setEnabled(!isSteam);
|
_textPeriodCounterLayout.setEnabled(enabled);
|
||||||
_dropdownAlgoLayout.setEnabled(!isSteam);
|
_dropdownAlgoLayout.setEnabled(enabled);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void setGroup(String groupName) {
|
private void setGroup(String groupName) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue