mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-03 15:46:34 +02:00
Simplification
This commit is contained in:
@@ -123,7 +123,7 @@ public class StyleHelper {
|
||||
View.OnClickListener styleListener = new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
StyleHelper.apply(-1, v.getId(), owner, v, etBody);
|
||||
StyleHelper.apply(v.getId(), owner, v, etBody);
|
||||
}
|
||||
};
|
||||
|
||||
@@ -345,6 +345,10 @@ public class StyleHelper {
|
||||
};
|
||||
}
|
||||
|
||||
static boolean apply(int itemId, LifecycleOwner owner, View anchor, EditText etBody, Object... args) {
|
||||
return apply(-1, itemId, owner, anchor, etBody, args);
|
||||
}
|
||||
|
||||
static boolean apply(int groupId, int itemId, LifecycleOwner owner, View anchor, EditText etBody, Object... args) {
|
||||
Log.i("Style action=" + groupId + ":" + itemId);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user