Disabled test data
This commit is contained in:
@@ -36,7 +36,7 @@ public class SyncshellFinderUI : WindowMediatorSubscriberBase
|
|||||||
private GroupJoinDto? _joinDto;
|
private GroupJoinDto? _joinDto;
|
||||||
private GroupJoinInfoDto? _joinInfo;
|
private GroupJoinInfoDto? _joinInfo;
|
||||||
private DefaultPermissionsDto _ownPermissions = null!;
|
private DefaultPermissionsDto _ownPermissions = null!;
|
||||||
private const bool UseTestSyncshells = true;
|
private const bool _useTestSyncshells = false;
|
||||||
|
|
||||||
private bool _compactView = false;
|
private bool _compactView = false;
|
||||||
|
|
||||||
@@ -129,7 +129,7 @@ public class SyncshellFinderUI : WindowMediatorSubscriberBase
|
|||||||
{
|
{
|
||||||
string broadcasterName;
|
string broadcasterName;
|
||||||
|
|
||||||
if (UseTestSyncshells)
|
if (_useTestSyncshells)
|
||||||
{
|
{
|
||||||
// Fake broadcaster for test mode
|
// Fake broadcaster for test mode
|
||||||
var displayName = !string.IsNullOrEmpty(shell.Group.Alias)
|
var displayName = !string.IsNullOrEmpty(shell.Group.Alias)
|
||||||
@@ -483,7 +483,7 @@ public class SyncshellFinderUI : WindowMediatorSubscriberBase
|
|||||||
|
|
||||||
List<GroupJoinDto>? updatedList = [];
|
List<GroupJoinDto>? updatedList = [];
|
||||||
|
|
||||||
if (UseTestSyncshells)
|
if (_useTestSyncshells)
|
||||||
{
|
{
|
||||||
// ---- TEST DATA PATH ----
|
// ---- TEST DATA PATH ----
|
||||||
updatedList = BuildTestSyncshells();
|
updatedList = BuildTestSyncshells();
|
||||||
|
|||||||
Reference in New Issue
Block a user