message hook
This commit is contained in:
@@ -4,10 +4,11 @@ import static ru.vtosters.lite.utils.Preferences.getBoolValue;
|
||||
|
||||
import android.text.TextUtils;
|
||||
|
||||
import org.json.JSONObject;
|
||||
|
||||
import ru.vtosters.lite.translators.BaseTranslator;
|
||||
|
||||
public class MessagesHook {
|
||||
|
||||
public static String injectOwnText(String oldText) {
|
||||
var translator = BaseTranslator.getInstance();
|
||||
if (!TextUtils.isEmpty(oldText) && getBoolValue("autotranslate", false)) {
|
||||
|
||||
Reference in New Issue
Block a user