mirror of
https://github.com/MoonLeeeaf/FuckMaoNemo.git
synced 2024-10-05 15:02:48 +00:00
chore: no toasts
This commit is contained in:
parent
7a529652c5
commit
9543727c7a
|
@ -4,14 +4,14 @@
|
|||
"file": "/storage/emulated/0/铃芽の文件/Projects/FuckMaoNemo/app/src/main/res/xml/config.xml",
|
||||
"selection": {
|
||||
"end": {
|
||||
"column": 7,
|
||||
"index": 1062,
|
||||
"line": 30
|
||||
"column": 102,
|
||||
"index": 683,
|
||||
"line": 19
|
||||
},
|
||||
"start": {
|
||||
"column": 7,
|
||||
"index": 1062,
|
||||
"line": 30
|
||||
"column": 102,
|
||||
"index": 683,
|
||||
"line": 19
|
||||
}
|
||||
}
|
||||
},
|
||||
|
@ -19,29 +19,14 @@
|
|||
"file": "/storage/emulated/0/铃芽の文件/Projects/FuckMaoNemo/app/src/main/java/io/github/moonleeeaf/fuckmaonemo/Hook.java",
|
||||
"selection": {
|
||||
"end": {
|
||||
"column": 39,
|
||||
"index": 3614,
|
||||
"line": 83
|
||||
"column": 31,
|
||||
"index": 3660,
|
||||
"line": 84
|
||||
},
|
||||
"start": {
|
||||
"column": 39,
|
||||
"index": 3614,
|
||||
"line": 83
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"file": "/storage/emulated/0/铃芽の文件/Projects/FuckMaoNemo/app/build.gradle",
|
||||
"selection": {
|
||||
"end": {
|
||||
"column": 23,
|
||||
"index": 273,
|
||||
"line": 14
|
||||
},
|
||||
"start": {
|
||||
"column": 23,
|
||||
"index": 273,
|
||||
"line": 14
|
||||
"column": 31,
|
||||
"index": 3660,
|
||||
"line": 84
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -82,8 +82,7 @@ public class Hook implements IXposedHookLoadPackage {
|
|||
XposedHelpers.setIntField(rawRes, "code", 200);
|
||||
XposedBridge.log("[FuckMaoNemo] 拦截响应 " + code + " 码");
|
||||
String t = "响应码 " + code;
|
||||
if (code != 401)
|
||||
Toast.makeText(getApplication(), "[FuckMaoNemo] " + t, Toast.LENGTH_SHORT).show();
|
||||
// Toast.makeText(getApplication(), "[FuckMaoNemo] " + t, Toast.LENGTH_SHORT).show();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,7 +17,7 @@
|
|||
<SwitchPreference
|
||||
android:key="fuck_40x"
|
||||
android:title="阻止服务端响应 40x 码"
|
||||
android:summary="启用此开关后,将可以:\n拦截 401 码强制登出账号\n强制浏览已封禁账号的资料卡\n评论接口检测\n其他作用" />
|
||||
android:summary="启用此开关后,将可以:\n拦截 401 码强制登出账号\n强制浏览已封禁账号的资料卡\n评论接口检测\n其他作用\n现在不再弹出 Toast 提示" />
|
||||
|
||||
<SwitchPreference
|
||||
android:key="no_records"
|
||||
|
|
Loading…
Reference in New Issue
Block a user