mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-27 19:22:14 -05:00
Do not show lookup button in decrypt activity for decryption-only
This commit is contained in:
parent
cc91369825
commit
b3badac0ee
@ -189,8 +189,9 @@ public class DecryptFragment extends Fragment {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
mSignatureLayout.setVisibility(View.GONE);
|
mSignatureLayout.setVisibility(View.GONE);
|
||||||
|
mLookupKey.setVisibility(View.GONE);
|
||||||
|
|
||||||
// only successful decryption
|
// successful decryption-only
|
||||||
mResultLayout.setBackgroundColor(getResources().getColor(R.color.result_blue));
|
mResultLayout.setBackgroundColor(getResources().getColor(R.color.result_blue));
|
||||||
mResultText.setText(R.string.decrypt_result_decrypted);
|
mResultText.setText(R.string.decrypt_result_decrypted);
|
||||||
}
|
}
|
||||||
@ -207,7 +208,8 @@ public class DecryptFragment extends Fragment {
|
|||||||
decryptStart(passphrase);
|
decryptStart(passphrase);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
}
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user