mirror of
https://github.com/ArcaneChat/android.git
synced 2026-07-03 14:05:24 +02:00
add a different animation for 'prepare'
This commit is contained in:
@@ -20,6 +20,7 @@ public class DcMsg {
|
||||
public final static int DC_STATE_IN_FRESH = 10;
|
||||
public final static int DC_STATE_IN_NOTICED = 13;
|
||||
public final static int DC_STATE_IN_SEEN = 16;
|
||||
public final static int DC_STATE_OUT_PREPARING = 18;
|
||||
public final static int DC_STATE_OUT_PENDING = 20;
|
||||
public final static int DC_STATE_OUT_ERROR = 24;
|
||||
public final static int DC_STATE_OUT_DELIVERED = 26;
|
||||
@@ -127,6 +128,9 @@ public class DcMsg {
|
||||
public boolean isFailed() {
|
||||
return getState() == DC_STATE_OUT_ERROR;
|
||||
}
|
||||
public boolean isPreparing() {
|
||||
return getState() == DC_STATE_OUT_PREPARING;
|
||||
}
|
||||
public long getExpiresIn() {
|
||||
return -1; // never.
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user