mirror of
https://github.com/areteruhiro/LIME-beta-hiro.git
synced 2025-02-05 21:11:39 +09:00
コードの修正
This commit is contained in:
parent
4d6a8c4b72
commit
19eb3f7a2c
@ -9,8 +9,8 @@ android {
|
||||
defaultConfig {
|
||||
minSdk 28
|
||||
targetSdk 35
|
||||
versionCode 116157
|
||||
versionName "1.16.15f"
|
||||
versionCode 11616
|
||||
versionName "1.16.16"
|
||||
multiDexEnabled false
|
||||
proguardFiles += 'proguard-rules.pro'
|
||||
buildConfigField 'String', 'HOOK_TARGET_VERSION', '"141910383"'
|
||||
|
@ -126,7 +126,12 @@ public class Main implements IXposedHookLoadPackage, IXposedHookInitPackageResou
|
||||
}
|
||||
});
|
||||
}
|
||||
// resparam.res.setReplacement(Constants.PACKAGE_NAME, "drawable", "navi_top_albums", xModuleResources.fwd(R.drawable.empty_drawable));
|
||||
|
||||
if (limeOptions.RemoveVoiceRecord.checked) {
|
||||
resparam.res.setReplacement(Constants.PACKAGE_NAME, "drawable", "chat_ui_input_ic_voice_normal", xModuleResources.fwd(R.drawable.empty_drawable));
|
||||
resparam.res.setReplacement(Constants.PACKAGE_NAME, "drawable", "chat_ui_input_ic_voice_pressed", xModuleResources.fwd(R.drawable.empty_drawable));
|
||||
}
|
||||
if (limeOptions.removeServiceLabels.checked) {
|
||||
resparam.res.setReplacement(Constants.PACKAGE_NAME, "dimen", "home_tab_v3_service_icon_size", xModuleResources.fwd(R.dimen.home_tab_v3_service_icon_size));
|
||||
}
|
||||
|
@ -44,8 +44,6 @@ public class RemoveFlexibleContents implements IHook {
|
||||
"onAttachedToWindow",
|
||||
new XC_MethodHook() {
|
||||
View view;
|
||||
|
||||
|
||||
@Override
|
||||
protected void beforeHookedMethod(MethodHookParam param) throws Throwable {
|
||||
view = (View) param.thisObject;
|
||||
|
@ -769,7 +769,7 @@ public class UnsentRec implements IHook {
|
||||
}
|
||||
testWriter.write(moduleContext.getResources().getString(R.string.reacquisition) + logEntry);
|
||||
testWriter.newLine();
|
||||
|
||||
updateMessageAsCanceled(db1, serverId,context,moduleContext);
|
||||
|
||||
}
|
||||
|
||||
|
4
app/src/main/res/drawable/empty_drawable.xml
Normal file
4
app/src/main/res/drawable/empty_drawable.xml
Normal file
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
</selector>
|
5
app/src/main/res/layout/empty_drawable.xml
Normal file
5
app/src/main/res/layout/empty_drawable.xml
Normal file
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="0dp">
|
||||
</FrameLayout>
|
@ -3,5 +3,6 @@
|
||||
<dimen name="main_bnb_button_height">106dp</dimen>
|
||||
<dimen name="main_bnb_button_width">80dp</dimen>
|
||||
<dimen name="gnav_icon_offset">21dp</dimen>
|
||||
<dimen name="dummy">1dp</dimen>
|
||||
<dimen name="home_tab_v3_service_icon_size">45dp</dimen>
|
||||
</resources>
|
Loading…
Reference in New Issue
Block a user