Skip to content

Commit

Permalink
Fixed a regression that allowed editing in plain text mode.
Browse files Browse the repository at this point in the history
Description update.
  • Loading branch information
Keidan committed Feb 20, 2021
1 parent a0d34a5 commit 5a86cc9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ This application offers the following features :
* Opening all files without a corresponding Android application.
* Display of the file in hexadecimal (or plain text) with the possibility to modify the content (in hexadecimal only).
* Saving the file on the smartphone/tablet.
* Search option in the open file (hexadecimal and plain text modes).

Caution: Opening files that are too large seriously degrades application performance and can suddenly stop the application on low-resource devices.

## Instructions

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,10 @@ public boolean onItemLongClick(final AdapterView<?> parent, final View view,
String string = mAdapter.getItem(position);
if (string == null)
return false;
if(mPayloadPlain.getVisibility() == View.VISIBLE) {
UIHelper.toast(this, getString(R.string.error_not_supported_in_plain_text));
return false;
}

final String hex = Helper.extractString(string);

Expand Down
3 changes: 3 additions & 0 deletions fastlane/metadata/android/en-US/full_description.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@ This application offers the following features :
- Opening all files without a corresponding Android application.
- Display of the file in hexadecimal (or plain text) with the possibility to modify the content (in hexadecimal only).
- Saving the file on the smartphone/tablet.
- Search option in the open file (hexadecimal and plain text modes).

Caution: Opening files that are too large seriously degrades application performance and can suddenly stop the application on low-resource devices.

This software is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY.

0 comments on commit 5a86cc9

Please sign in to comment.