refactor: cleanup
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -3,3 +3,5 @@ obj/
|
||||
/packages/
|
||||
riderModule.iml
|
||||
/_ReSharper.Caches/
|
||||
.idea/
|
||||
*.sln.DotSettings.user
|
||||
|
||||
4
.idea/.idea.CaddyManager/.idea/encodings.xml
generated
4
.idea/.idea.CaddyManager/.idea/encodings.xml
generated
@@ -1,4 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding" addBOMForNewFiles="with BOM under Windows, with no BOM otherwise" />
|
||||
</project>
|
||||
@@ -7,8 +7,13 @@ public partial class MainLayout
|
||||
// To allow the menu button to control the drawer
|
||||
private NavigationDrawer _drawer = null!;
|
||||
|
||||
// To control the dark mode
|
||||
private bool _isDarkMode;
|
||||
|
||||
// Indicates if the component is initializing, hence would not render anything to not confuse the user
|
||||
private bool _isInitialing = true;
|
||||
|
||||
// Used for the system preference for dark mode
|
||||
private MudThemeProvider _mudThemeProvider = null!;
|
||||
|
||||
protected override async Task OnAfterRenderAsync(bool firstRender)
|
||||
|
||||
Reference in New Issue
Block a user