Skip to content

Commit

Permalink
调整[自定义 Turnip/Mesa]: 禁止用户在输入文件名时通过点击外部关闭弹窗
Browse files Browse the repository at this point in the history
  • Loading branch information
Vera-Firefly committed Nov 11, 2024
1 parent 3b8f0a0 commit 332b0cf
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,7 @@ private void setMesaNameDialog(Uri fileUri) {
return true;
})
.setCancelListener(android.R.string.cancel, customView -> true)
.setCancelable(false)
.build()
.show();
}
Expand Down Expand Up @@ -565,6 +566,7 @@ private void setTurnipNameDialog(Uri fileUri) {
return true;
})
.setCancelListener(android.R.string.cancel, customView -> true)
.setCancelable(false)
.build()
.show();
}
Expand Down

0 comments on commit 332b0cf

Please sign in to comment.