Skip to content

Commit

Permalink
dont allow to delete main os lol
Browse files Browse the repository at this point in the history
  • Loading branch information
nift4 committed Jul 28, 2024
1 parent b5f973b commit 3270b80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/main/java/org/andbootmgr/app/MainActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,7 @@ private fun PartTool(vm: MainActivityState) {
}
},
confirmButton = {
if (f != null) {
if (f != null && e["xpart"] != "real") {
Button(
onClick = {
f!!.delete()
Expand Down

0 comments on commit 3270b80

Please sign in to comment.