mirror of
https://gitlab.com/Kwoth/nadekobot.git
synced 2025-09-11 01:38:27 -04:00
dev: Using collection expressions, no functional change
This commit is contained in:
@@ -11,9 +11,9 @@ public sealed partial class YtLoader : INService
|
||||
private static readonly byte[] _ytResultJsonEnd = Encoding.UTF8.GetBytes(";<");
|
||||
|
||||
private static readonly string[] _durationFormats =
|
||||
{
|
||||
[
|
||||
@"m\:ss", @"mm\:ss", @"h\:mm\:ss", @"hh\:mm\:ss", @"hhh\:mm\:ss"
|
||||
};
|
||||
];
|
||||
|
||||
private readonly IHttpClientFactory _httpFactory;
|
||||
|
||||
|
Reference in New Issue
Block a user