This commit is contained in:
2020-07-10 23:39:07 +08:00
parent c1b81d6e13
commit 2d44172d8f
2 changed files with 5 additions and 2 deletions

View File

@@ -595,8 +595,11 @@ end
function fitIphoneX()
local mode = SystemInfo.deviceModel
printw(mode)
if
string.find(mode, "iPhone10,3") or string.find(mode, "iPhone10,6") or string.find(mode, "iPhone11,3") or
string.find(mode, "iPhone10,3") or
string.find(mode, "iPhone10,6") or
string.find(mode, "iPhone11,3") or
string.find(mode, "iPhone11,6") or -- XS Max
string.find(mode, "iPhone11,8")
then -- xr