Skip to content

Commit 7a9cacc

Browse files
committed
add the sideloading check in ReadText activity too
1 parent 3936d86 commit 7a9cacc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/src/main/kotlin/com/simplemobiletools/filemanager/pro/activities/ReadTextActivity.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ class ReadTextActivity : SimpleActivity() {
3535
super.onCreate(savedInstanceState)
3636
setContentView(R.layout.activity_read_text)
3737

38+
if (checkAppSideloading()) {
39+
return
40+
}
41+
3842
handlePermission(PERMISSION_WRITE_STORAGE) {
3943
if (it) {
4044
checkIntent()

0 commit comments

Comments
 (0)