diff --git a/Components/Layout/AvatarMenuLinks.razor b/Components/Layout/AvatarMenuLinks.razor index 8423806..ee3b4cb 100644 --- a/Components/Layout/AvatarMenuLinks.razor +++ b/Components/Layout/AvatarMenuLinks.razor @@ -8,12 +8,12 @@ Address Directory -@if (State.IsAuthorized) { +@* @if (State.IsAuthorized) { Feed -} +} *@ @foreach (AddressResponseData address in State.AddressList ?? new List()) { @address.Address diff --git a/Components/Layout/NavLinks.razor b/Components/Layout/NavLinks.razor index b376b33..4988737 100644 --- a/Components/Layout/NavLinks.razor +++ b/Components/Layout/NavLinks.razor @@ -20,11 +20,11 @@
Address Directory
- +@*
Feed
-
\ No newline at end of file +
*@ \ No newline at end of file diff --git a/Models/State.cs b/Models/State.cs index bddd409..eb83763 100644 --- a/Models/State.cs +++ b/Models/State.cs @@ -152,6 +152,8 @@ namespace Neighbourhood.omg.lol.Models { if (AccountInfo == null) { AccountInfo = await api.AccountInfo(); if (AccountInfo != null) { + // quick fix for users without names (such as the review account) + if(AccountInfo.Name == null) AccountInfo.Name = AccountInfo.Email.Split('@').FirstOrDefault() ?? "person"; Preferences.Default.Set("accountdetails", JsonSerializer.Serialize(AccountInfo)); } } diff --git a/Neighbourhood.omg.lol.csproj b/Neighbourhood.omg.lol.csproj index 1f4a93b..ed07211 100644 --- a/Neighbourhood.omg.lol.csproj +++ b/Neighbourhood.omg.lol.csproj @@ -43,19 +43,19 @@ au.death.lol.omg.neighbourhood - 0.9.0 + 0.9.1 2 au.death.lol.omg.neighbourhood - 0.9.0 + 0.9.1 2 au.death.lol.omg.neighbourhood - 0.9.0 + 0.9.1 True D:\Neighbourhood.omg.lol\neighbourhood.omg.lol.keystore 2 @@ -66,31 +66,31 @@ au.death.lol.omg.neighbourhood - 0.9.0 + 0.9.1 2 au.death.lol.omg.neighbourhood - 0.9.0 + 0.9.1 2 au.death.lol.omg.neighbourhood - 0.9.0 + 0.9.1 2 au.death.lol.omg.neighbourhood - 0.9.0 + 0.9.1 2 au.death.lol.omg.neighbourhood - 0.9.0 + 0.9.1 2