mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-12-18 06:53:07 +03:00
Upgrade SQLitePCL to v2
This commit is contained in:
@@ -215,13 +215,7 @@ namespace Emby.Server.Implementations.Data
|
||||
}
|
||||
|
||||
private DisplayPreferences Get(IReadOnlyList<IResultSetValue> row)
|
||||
{
|
||||
using (var stream = new MemoryStream(row[0].ToBlob()))
|
||||
{
|
||||
stream.Position = 0;
|
||||
return _jsonSerializer.DeserializeFromStream<DisplayPreferences>(stream);
|
||||
}
|
||||
}
|
||||
=> _jsonSerializer.DeserializeFromString<DisplayPreferences>(row.GetString(0));
|
||||
|
||||
public void SaveDisplayPreferences(DisplayPreferences displayPreferences, string userId, string client, CancellationToken cancellationToken)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user