mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-04-17 19:52:47 +02:00
Fix readonlyspan usage
This commit is contained in:
parent
603fce59df
commit
c809c36b30
1 changed files with 2 additions and 2 deletions
|
|
@ -462,10 +462,10 @@ namespace Emby.Server.Implementations.LiveTv.Listings
|
|||
}
|
||||
|
||||
StringBuilder str = new StringBuilder("[", 1 + (programIds.Count * 13));
|
||||
foreach (ReadOnlySpan<char> i in programIds)
|
||||
foreach (var i in programIds)
|
||||
{
|
||||
str.Append('"')
|
||||
.Append(i.Slice(0, 10))
|
||||
.Append(i[..10])
|
||||
.Append("\",");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue