1
0
mirror of https://github.com/areteruhiro/LIME-beta-hiro.git synced 2025-02-05 21:11:39 +09:00

翻訳の追加

既読者確認機能について大幅な変更
ボタンの変更
ボタンの位置の変更を可能に
This commit is contained in:
areteruhiro 2025-01-14 02:58:07 +09:00
parent 7432083f6f
commit 2d4756e077

View File

@ -146,7 +146,7 @@ public class PreventMarkAsRead implements IHook {
return settings;
}
private void updateSwitchImage(ImageView imageView, boolean isOn, Context moduleContext) {
String imageName = isOn ? "switch_on" : "switch_off";
String imageName = isOn ? "switch_off" : "switch_on";
int imageResource = moduleContext.getResources().getIdentifier(imageName, "drawable", "io.github.hiro.lime");
if (imageResource != 0) {