mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-03 09:46:54 +02:00
[Chore] Run solution code cleanup (#20584)
This commit is contained in:
@@ -25,9 +25,7 @@ namespace ImageResizer.Properties
|
||||
}
|
||||
|
||||
[ClassInitialize]
|
||||
#pragma warning disable CA1801 // Review unused parameters
|
||||
public static void ClassInitialize(TestContext context)
|
||||
#pragma warning restore CA1801 // Review unused parameters
|
||||
{
|
||||
// new App() needs to be created since Settings.Reload() uses App.Current to update properties on the UI thread. App() can be created only once otherwise it results in System.InvalidOperationException : Cannot create more than one System.Windows.Application instance in the same AppDomain.
|
||||
_imageResizerApp = new App();
|
||||
|
||||
Reference in New Issue
Block a user