1
0
mirror of https://github.com/areteruhiro/LIME-beta-hiro.git synced 2025-02-10 23:41:38 +09:00

コードの変更

This commit is contained in:
areteruhiro 2025-01-31 07:57:22 +09:00
parent 3c56951d57
commit fec76b2f98

View File

@ -489,7 +489,8 @@ public class EmbedOptions implements IHook {
String versionNameStr = String.valueOf(versionName);
int versionNameInt = Integer.parseInt(versionNameStr); // Convert the string to an integer
String majorVersionStr = versionNameStr.split("\\.")[0]; // Extract the major version number
int versionNameInt = Integer.parseInt(majorVersionStr); // Convert the major version to an integer
if (versionNameInt >= 15) {
layoutParams.topMargin = (int) (statusBarHeight); // Set margin to status bar height