mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-29 21:34:44 +02:00
Added TwoStateOwner labels
This commit is contained in:
@@ -42,6 +42,7 @@ public class TwoStateOwner implements LifecycleOwner {
|
||||
private LifecycleRegistry registry;
|
||||
private long created;
|
||||
private long changed;
|
||||
private String state;
|
||||
|
||||
private static DateFormat DTF = SimpleDateFormat.getDateTimeInstance(DateFormat.SHORT, DateFormat.SHORT);
|
||||
|
||||
@@ -85,6 +86,7 @@ public class TwoStateOwner implements LifecycleOwner {
|
||||
public void onAny() {
|
||||
Log.i(TwoStateOwner.this + " " + registry);
|
||||
changed = new Date().getTime();
|
||||
state = registry.getCurrentState().name();
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user