Skip to content

Commit ba2f76a

Browse files
author
Brian Gentry
committed
Small code cleanup
1 parent 30fbca4 commit ba2f76a

25 files changed

+43
-45
lines changed

RetroWarden/Config/ConfigurationManager.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
using Microsoft.Extensions.Configuration;
21
using System.Text.Json;
32
using System.Text.Json.Serialization;
3+
using Microsoft.Extensions.Configuration;
44

55
namespace Retrowarden.Config
66
{
Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
namespace Retrowarden.Config;
2-
3-
public sealed class RetrowardenConfig
1+
namespace Retrowarden.Config
42
{
5-
public RetrowardenConfig(string? cliLocation = "")
3+
public sealed class RetrowardenConfig
64
{
7-
CLILocation = cliLocation;
8-
}
5+
public RetrowardenConfig(string? cliLocation = "")
6+
{
7+
CLILocation = cliLocation;
8+
}
99

10-
public string? CLILocation { get; set; }
10+
public string? CLILocation { get; set; }
11+
}
1112
}

RetroWarden/Controls/CustomFieldScrollView.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System.Collections.ObjectModel;
2-
using Terminal.Gui;
3-
using RetrowardenSDK.Models;
42
using Retrowarden.Utils;
3+
using RetrowardenSDK.Models;
4+
using Terminal.Gui;
55

66
namespace Retrowarden.Controls
77
{

RetroWarden/Controls/UriScrollView.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
using System.Collections.ObjectModel;
22
using System.Diagnostics;
3-
using Terminal.Gui;
43
using Retrowarden.Utils;
54
using RetrowardenSDK.Models;
5+
using Terminal.Gui;
66

77
namespace Retrowarden.Controls
88
{

RetroWarden/Dialogs/AddCollectionDialog.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
using System.ComponentModel;
2-
using Terminal.Gui;
32
using RetrowardenSDK.Models;
3+
using Terminal.Gui;
44

55
namespace Retrowarden.Dialogs
66
{

RetroWarden/Dialogs/GeneratePassphraseDialog.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
using System.ComponentModel;
22
using System.Text.RegularExpressions;
3-
using Terminal.Gui;
4-
using RetrowardenSDK.Repositories;
53
using Retrowarden.Workers;
4+
using RetrowardenSDK.Repositories;
5+
using Terminal.Gui;
66

77
namespace Retrowarden.Dialogs
88
{

RetroWarden/Dialogs/GeneratePasswordDialog.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
using System.ComponentModel;
2-
using Terminal.Gui;
3-
using RetrowardenSDK.Repositories;
42
using Retrowarden.Workers;
3+
using RetrowardenSDK.Repositories;
4+
using Terminal.Gui;
55

66
namespace Retrowarden.Dialogs
77
{

RetroWarden/Dialogs/SelectOrganizationAndCollectionDialog.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
using RetrowardenSDK.Models;
44
using Terminal.Gui;
55

6-
76
namespace Retrowarden.Dialogs
87
{
98
public sealed class SelectOrganizationAndCollectionDialog : BaseDialog

RetroWarden/Dialogs/StatusDialog.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
using Terminal.Gui;
21
using RetrowardenSDK.Models;
2+
using Terminal.Gui;
33

44
namespace Retrowarden.Dialogs
55
{

RetroWarden/Utils/ItemListDataSource.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
using System.Text;
44
using Terminal.Gui;
55
using RetrowardenSDK.Models;
6+
67
namespace Retrowarden.Utils
78
{
89
public class ItemListDataSource : IListDataSource

0 commit comments

Comments
 (0)