aboutsummaryrefslogtreecommitdiff
path: root/Emby.Drawing/UnplayedCountIndicator.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Emby.Drawing/UnplayedCountIndicator.cs')
-rw-r--r--Emby.Drawing/UnplayedCountIndicator.cs18
1 files changed, 2 insertions, 16 deletions
diff --git a/Emby.Drawing/UnplayedCountIndicator.cs b/Emby.Drawing/UnplayedCountIndicator.cs
index caa3e465b..16c084a21 100644
--- a/Emby.Drawing/UnplayedCountIndicator.cs
+++ b/Emby.Drawing/UnplayedCountIndicator.cs
@@ -1,28 +1,14 @@
using System.Globalization;
-using MediaBrowser.Common.Configuration;
-using MediaBrowser.Common.Net;
using MediaBrowser.Model.Drawing;
-using MediaBrowser.Model.IO;
using SkiaSharp;
namespace Emby.Drawing
{
- public class UnplayedCountIndicator
+ public static class UnplayedCountIndicator
{
private const int OffsetFromTopRightCorner = 38;
- private readonly IApplicationPaths _appPaths;
- private readonly IHttpClient _iHttpClient;
- private readonly IFileSystem _fileSystem;
-
- public UnplayedCountIndicator(IApplicationPaths appPaths, IHttpClient iHttpClient, IFileSystem fileSystem)
- {
- _appPaths = appPaths;
- _iHttpClient = iHttpClient;
- _fileSystem = fileSystem;
- }
-
- public void DrawUnplayedCountIndicator(SKCanvas canvas, ImageSize imageSize, int count)
+ public static void DrawUnplayedCountIndicator(SKCanvas canvas, ImageSize imageSize, int count)
{
var x = imageSize.Width - OffsetFromTopRightCorner;
var text = count.ToString(CultureInfo.InvariantCulture);