2 writes to Density
Aspire.Dashboard (2)
Model\DashboardViewPreferences.cs (2)
118Density = density; 157Density = density;
7 references to Density
Aspire.Dashboard (3)
Components\Layout\ResourcesLayout.razor.cs (1)
1848private bool IsCompact => ViewPreferences.Density == ResourceListDensity.Compact;
Model\DashboardViewPreferences.cs (2)
113if (Density == density) 155if (density != Density || groupOverview != GroupOverview || recordingsStyle != RecordingsStyle)
Aspire.Dashboard.Components.Tests (4)
Dialogs\SettingsDialogTests.cs (1)
99Assert.Equal(ResourceListDensity.Comfortable, preferences.Density);
Model\DashboardViewPreferencesTests.cs (3)
67Assert.Equal(ResourceListDensity.Comfortable, preferences.Density); 74Assert.Equal(ResourceListDensity.Comfortable, reopenedPreferences.Density); 104Assert.Equal(ResourceListDensity.Compact, preferences.Density);