Do not show lookup button in decrypt activity for decryption-only
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
}
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user