From 44c2b4ffabfd69df4edf4f78a797ffcb6ccf3b7b Mon Sep 17 00:00:00 2001 From: Gabriel Lima <44784408+gablm@users.noreply.github.com> Date: Tue, 2 Apr 2024 22:49:02 +0100 Subject: [PATCH] Qodana - Remove unused --- CollapseLauncher/Classes/EventsManagement/EventsHandler.cs | 1 - .../Classes/Helper/Background/BackgroundMediaUtility.cs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/CollapseLauncher/Classes/EventsManagement/EventsHandler.cs b/CollapseLauncher/Classes/EventsManagement/EventsHandler.cs index ccb5cbcc9..cc2b89568 100644 --- a/CollapseLauncher/Classes/EventsManagement/EventsHandler.cs +++ b/CollapseLauncher/Classes/EventsManagement/EventsHandler.cs @@ -8,7 +8,6 @@ using System; using System.Collections.Generic; using System.Diagnostics; -using System.IO; using System.Threading.Tasks; using Windows.Foundation; using Windows.Networking.Connectivity; diff --git a/CollapseLauncher/Classes/Helper/Background/BackgroundMediaUtility.cs b/CollapseLauncher/Classes/Helper/Background/BackgroundMediaUtility.cs index f1b46a946..15d68fcd2 100644 --- a/CollapseLauncher/Classes/Helper/Background/BackgroundMediaUtility.cs +++ b/CollapseLauncher/Classes/Helper/Background/BackgroundMediaUtility.cs @@ -265,7 +265,7 @@ private static void EnsureCurrentMediaPlayerRegistered() /// Throws if the background file is not supported /// Throws if some instances aren't yet initialized internal static async Task LoadBackground(string mediaPath, bool isRequestInit = false, - bool isForceRecreateCache = false, FileStream? existingFileStream = null) + bool isForceRecreateCache = false) { while (!_isCurrentRegistered) {