[sln] Code cleanup

This commit is contained in:
Laura Hausmann 2025-01-07 06:38:23 +01:00
parent 74daf1ad47
commit 1ecd823cbe
No known key found for this signature in database
GPG key ID: D044E84C5BE01605
2 changed files with 7 additions and 8 deletions

View file

@ -2,7 +2,6 @@ using System.Net;
using System.Net.Mime; using System.Net.Mime;
using Iceshrimp.Backend.Controllers.Shared.Attributes; using Iceshrimp.Backend.Controllers.Shared.Attributes;
using Iceshrimp.Backend.Core.Database.Tables; using Iceshrimp.Backend.Core.Database.Tables;
using Iceshrimp.Backend.Core.Extensions;
using Iceshrimp.Backend.Core.Middleware; using Iceshrimp.Backend.Core.Middleware;
using Iceshrimp.Backend.Core.Services; using Iceshrimp.Backend.Core.Services;
using Iceshrimp.Shared.Schemas.Web; using Iceshrimp.Shared.Schemas.Web;

View file

@ -138,14 +138,14 @@
private string FieldName { get; set; } = ""; private string FieldName { get; set; } = "";
private string FieldValue { get; set; } = ""; private string FieldValue { get; set; } = "";
private StateButton SaveButton { get; set; } = null!; private StateButton SaveButton { get; set; } = null!;
private IBrowserFile? AvatarFile { get; set; } = null; private IBrowserFile? AvatarFile { get; set; }
private string? AvatarUrl { get; set; } = null; private string? AvatarUrl { get; set; }
private bool DelAvatar { get; set; } = false; private bool DelAvatar { get; set; }
private IBrowserFile? BannerFile { get; set; } = null; private IBrowserFile? BannerFile { get; set; }
private string? BannerUrl { get; set; } = null; private string? BannerUrl { get; set; }
private bool DelBanner { get; set; } = false; private bool DelBanner { get; set; }
private DateTime Birthday { get; set; } = DateTime.Now; private DateTime Birthday { get; set; } = DateTime.Now;
private bool SetBirthday { get; set; } = false; private bool SetBirthday { get; set; }
private ElementReference Description { get; set; } private ElementReference Description { get; set; }
private ElementReference EmojiButton { get; set; } private ElementReference EmojiButton { get; set; }