Do not show lookup button in decrypt activity for decryption-only

This commit is contained in:
Dominik Schürmann 2014-04-18 19:03:31 +02:00
parent cc91369825
commit b3badac0ee

View File

@ -189,8 +189,9 @@ public class DecryptFragment extends Fragment {
}
} else {
mSignatureLayout.setVisibility(View.GONE);
mLookupKey.setVisibility(View.GONE);
// only successful decryption
// successful decryption-only
mResultLayout.setBackgroundColor(getResources().getColor(R.color.result_blue));
mResultText.setText(R.string.decrypt_result_decrypted);
}
@ -207,7 +208,8 @@ public class DecryptFragment extends Fragment {
decryptStart(passphrase);
}
}
});
}
);
}
/**