Fix #142 - Crash when updating cache
This commit is contained in:
parent
85da5043b0
commit
9c430e4a22
|
@ -194,7 +194,9 @@ public class StatusCache {
|
|||
}
|
||||
ContentValues values = new ContentValues();
|
||||
values.put(Sqlite.COL_USER_ID, statusCache.user_id);
|
||||
if (statusCache.type != null) {
|
||||
values.put(Sqlite.COL_TYPE, statusCache.type.getValue());
|
||||
}
|
||||
values.put(Sqlite.COL_STATUS_ID, statusCache.status_id);
|
||||
values.put(Sqlite.COL_STATUS, mastodonStatusToStringStorage(statusCache.status));
|
||||
values.put(Sqlite.COL_UPDATED_AT, Helper.dateToString(new Date()));
|
||||
|
|
Loading…
Reference in New Issue