mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-07-09 03:04:24 -04:00
Fix readonlyspan usage
This commit is contained in:
parent
603fce59df
commit
c809c36b30
@ -462,10 +462,10 @@ namespace Emby.Server.Implementations.LiveTv.Listings
|
|||||||
}
|
}
|
||||||
|
|
||||||
StringBuilder str = new StringBuilder("[", 1 + (programIds.Count * 13));
|
StringBuilder str = new StringBuilder("[", 1 + (programIds.Count * 13));
|
||||||
foreach (ReadOnlySpan<char> i in programIds)
|
foreach (var i in programIds)
|
||||||
{
|
{
|
||||||
str.Append('"')
|
str.Append('"')
|
||||||
.Append(i.Slice(0, 10))
|
.Append(i[..10])
|
||||||
.Append("\",");
|
.Append("\",");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user