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

Merge branch 'master' into master

This commit is contained in:
Syuugo 2024-01-19 22:28:10 +09:00 committed by GitHub
commit 3160c36ab7
6 changed files with 13 additions and 6 deletions

View File

@ -3,7 +3,7 @@ plugins {
}
android {
namespace 'com.example.lime'
namespace 'io.github.chipppppppppp.lime'
compileSdk 33
defaultConfig {

View File

@ -28,6 +28,9 @@
<meta-data
android:name="xposedsharedprefs"
android:value="true" />
<meta-data
android:name="xposedscope"
android:resource="@array/xposed_scope" />
</application>
</manifest>

View File

@ -1 +1 @@
com.example.lime.Main
io.github.chipppppppppp.lime.Main

View File

@ -1,4 +1,4 @@
package com.example.lime;
package io.github.chipppppppppp.lime;
import de.robv.android.xposed.XposedBridge;
import de.robv.android.xposed.IXposedHookLoadPackage;
@ -18,7 +18,7 @@ import android.content.Intent;
public class Main implements IXposedHookLoadPackage {
public void handleLoadPackage(XC_LoadPackage.LoadPackageParam lparam) throws Throwable {
XSharedPreferences prefs = new XSharedPreferences("com.example.lime", "settings");
XSharedPreferences prefs = new XSharedPreferences("io.github.chipppppppppp.lime", "settings");
prefs.reload();
boolean deleteVoom = prefs.getBoolean("delete_voom", true);
boolean deleteAds = prefs.getBoolean("delete_ads", true);

View File

@ -1,4 +1,4 @@
package com.example.lime;
package io.github.chipppppppppp.lime;
import android.os.Bundle;
import androidx.appcompat.app.AppCompatActivity;

View File

@ -1,5 +1,9 @@
<resources>
<!-- Reply Preference -->
<string-array name="xposed_scope">
<item>jp.naver.line.android</item>
</string-array>
<string-array name="reply_entries">
<item>Reply</item>
<item>Reply to all</item>
@ -9,4 +13,4 @@
<item>reply</item>
<item>reply_all</item>
</string-array>
</resources>
</resources>