mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 14:46:31 +02:00
Prevent crash
This commit is contained in:
@@ -2250,6 +2250,8 @@ public abstract class DB extends RoomDatabase {
|
||||
|
||||
@TypeConverter
|
||||
public static int fromLogType(EntityLog.Type type) {
|
||||
if (type == null)
|
||||
type = EntityLog.Type.General;
|
||||
return type.ordinal();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user