mirror of https://github.com/readrops/Readrops.git
Fix AccountType enum parcel write
This commit is contained in:
parent
d93137b0a5
commit
b0b8e4202a
|
@ -182,15 +182,9 @@ public class Account implements Parcelable {
|
|||
private @DrawableRes int iconRes;
|
||||
private @StringRes int name;
|
||||
|
||||
AccountType(Parcel in) {
|
||||
iconRes = in.readInt();
|
||||
name = in.readInt();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void writeToParcel(Parcel dest, int flags) {
|
||||
dest.writeInt(iconRes);
|
||||
dest.writeInt(name);
|
||||
dest.writeInt(ordinal());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue