diff options
Diffstat (limited to 'MatrixUtils.Web/Shared')
-rw-r--r-- | MatrixUtils.Web/Shared/ActivityGraph.razor | 2 | ||||
-rw-r--r-- | MatrixUtils.Web/Shared/EditablePre.razor | 2 | ||||
-rw-r--r-- | MatrixUtils.Web/Shared/InlineUserItem.razor | 3 | ||||
-rw-r--r-- | MatrixUtils.Web/Shared/RoomList.razor | 5 | ||||
-rw-r--r-- | MatrixUtils.Web/Shared/RoomListComponents/RoomListCategory.razor | 2 | ||||
-rw-r--r-- | MatrixUtils.Web/Shared/RoomListItem.razor | 4 | ||||
-rw-r--r-- | MatrixUtils.Web/Shared/UserListItem.razor | 3 |
7 files changed, 1 insertions, 20 deletions
diff --git a/MatrixUtils.Web/Shared/ActivityGraph.razor b/MatrixUtils.Web/Shared/ActivityGraph.razor index fa648c7..0f970af 100644 --- a/MatrixUtils.Web/Shared/ActivityGraph.razor +++ b/MatrixUtils.Web/Shared/ActivityGraph.razor @@ -1,6 +1,4 @@ -@using System.Drawing @using System.Runtime.InteropServices -@using System.Diagnostics @if (Data is { Count: > 0 }) { diff --git a/MatrixUtils.Web/Shared/EditablePre.razor b/MatrixUtils.Web/Shared/EditablePre.razor index acb477c..acb39c9 100644 --- a/MatrixUtils.Web/Shared/EditablePre.razor +++ b/MatrixUtils.Web/Shared/EditablePre.razor @@ -1,4 +1,4 @@ -@inherits InputBase<string> +@inherits Microsoft.AspNetCore.Components.Forms.InputBase<string> <pre id="@Id" class="@CssClass" @onkeyup="Callback" contenteditable="true">@CurrentValue</pre> @code { diff --git a/MatrixUtils.Web/Shared/InlineUserItem.razor b/MatrixUtils.Web/Shared/InlineUserItem.razor index 6df2307..9c6608a 100644 --- a/MatrixUtils.Web/Shared/InlineUserItem.razor +++ b/MatrixUtils.Web/Shared/InlineUserItem.razor @@ -1,7 +1,4 @@ -@using LibMatrix @using LibMatrix.EventTypes.Spec.State -@using LibMatrix.Helpers -@using LibMatrix.Homeservers @using LibMatrix.Responses <div style="background-color: #ffffff11; border-radius: 0.5em; height: 1em; display: inline-block; vertical-align: middle;" alt="@UserId"> <img style="@(ChildContent is not null ? "vertical-align: baseline;" : "vertical-align: top;") width: 1em; height: 1em; border-radius: 50%;" src="@ProfileAvatar"/> diff --git a/MatrixUtils.Web/Shared/RoomList.razor b/MatrixUtils.Web/Shared/RoomList.razor index 2ab3cef..42c5a9f 100644 --- a/MatrixUtils.Web/Shared/RoomList.razor +++ b/MatrixUtils.Web/Shared/RoomList.razor @@ -1,12 +1,7 @@ @using MatrixUtils.Web.Shared.RoomListComponents; -@using LibMatrix -@using LibMatrix.Extensions -@using ArcaneLibs.Extensions -@using LibMatrix.EventTypes.Spec.State @using System.Collections.ObjectModel @using LibMatrix.Responses @using MatrixUtils.Abstractions -@using _Imports = MatrixUtils.Web._Imports @if (!StillFetching) { <p>Fetching room details... @RoomsWithTypes.Sum(x => x.Value.Count) out of @Rooms.Count done!</p> @foreach (var category in RoomsWithTypes.OrderBy(x => x.Value.Count)) { diff --git a/MatrixUtils.Web/Shared/RoomListComponents/RoomListCategory.razor b/MatrixUtils.Web/Shared/RoomListComponents/RoomListCategory.razor index 7670ec5..1f5ce89 100644 --- a/MatrixUtils.Web/Shared/RoomListComponents/RoomListCategory.razor +++ b/MatrixUtils.Web/Shared/RoomListComponents/RoomListCategory.razor @@ -1,7 +1,5 @@ @using MatrixUtils.Web.Classes.Constants -@using LibMatrix @using LibMatrix.EventTypes.Spec.State -@using LibMatrix.Homeservers @using LibMatrix.Responses @using MatrixUtils.Abstractions <details open> diff --git a/MatrixUtils.Web/Shared/RoomListItem.razor b/MatrixUtils.Web/Shared/RoomListItem.razor index 5a33b65..bfaa900 100644 --- a/MatrixUtils.Web/Shared/RoomListItem.razor +++ b/MatrixUtils.Web/Shared/RoomListItem.razor @@ -1,10 +1,6 @@ -@using System.Text.Json @using LibMatrix @using LibMatrix.EventTypes.Spec.State -@using LibMatrix.Helpers -@using LibMatrix.Homeservers @using LibMatrix.Responses -@using LibMatrix.RoomTypes @using MatrixUtils.Abstractions @using MatrixUtils.Web.Classes.Constants @if (RoomInfo is not null) { diff --git a/MatrixUtils.Web/Shared/UserListItem.razor b/MatrixUtils.Web/Shared/UserListItem.razor index daa9c9e..d4652b2 100644 --- a/MatrixUtils.Web/Shared/UserListItem.razor +++ b/MatrixUtils.Web/Shared/UserListItem.razor @@ -1,6 +1,3 @@ -@using LibMatrix.Helpers -@using LibMatrix.EventTypes.Spec.State -@using LibMatrix.Homeservers @using LibMatrix.Responses @using ArcaneLibs <div style="background-color: #ffffff11; border-radius: 25px; margin: 8px; width: fit-Content;"> |