Skip to content

Commit c1aa255

Browse files
committed
* Fixed deprecated strings
* Updated README.md
1 parent 05ed1a0 commit c1aa255

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
# DeadHash
2+
23
DeadHash is a freeware utility to calculate file and text hashes. The following hash calculations are supported:
34
* MD5
4-
* SHA1
5-
* SHA224
6-
* SHA256
7-
* SHA3
8-
* SHA384
9-
* SHA512
5+
* SHA-1
6+
* SHA-224
7+
* SHA-256
8+
* SHA-3
9+
* SHA-384
10+
* SHA-512
1011
* CRC32
1112

1213
## About
14+
1315
This library is maintained by CodeDead. You can find more about us using the following links:
1416
* [Website](https://codedead.com)
1517
* [Twitter](https://twitter.com/C0DEDEAD)

app/src/main/java/com/codedead/deadhash/gui/MainActivity.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ public void onFinish() {
189189
reviewBuilder.setMessage(R.string.alert_review_text);
190190
reviewBuilder.setCancelable(true);
191191

192-
reviewBuilder.setPositiveButton(android.R.string.yes, new DialogInterface.OnClickListener() {
192+
reviewBuilder.setPositiveButton(android.R.string.ok, new DialogInterface.OnClickListener() {
193193
public void onClick(DialogInterface dialog, int id) {
194194
dialog.cancel();
195195

@@ -205,7 +205,7 @@ public void onClick(DialogInterface dialog, int id) {
205205
}
206206
});
207207

208-
reviewBuilder.setNeutralButton(android.R.string.no, new DialogInterface.OnClickListener() {
208+
reviewBuilder.setNeutralButton(android.R.string.cancel, new DialogInterface.OnClickListener() {
209209
@Override
210210
public void onClick(DialogInterface dialog, int which) {
211211
dialog.cancel();

0 commit comments

Comments
 (0)