mirror of
https://github.com/Caraxi/mare.client.git
synced 2025-12-12 18:27:24 +01:00
fix nsfw and profile text box rendering
This commit is contained in:
parent
57e38fbd98
commit
558709109c
3 changed files with 6 additions and 6 deletions
|
|
@ -61,7 +61,7 @@ public class MareProfileManager : MediatorSubscriberBase
|
|||
var profile = await _apiController.UserGetProfile(new API.Dto.User.UserDto(data)).ConfigureAwait(false);
|
||||
MareProfileData profileData = new(profile.Disabled, profile.IsNSFW ?? false, string.IsNullOrEmpty(profile.ProfilePictureBase64) ? _mareLogo : profile.ProfilePictureBase64,
|
||||
string.IsNullOrEmpty(profile.Description) ? _noDescription : profile.Description);
|
||||
if (profileData.IsNSFW && !_mareConfigService.Current.ProfilesAllowNsfw)
|
||||
if (profileData.IsNSFW && !_mareConfigService.Current.ProfilesAllowNsfw && _apiController.UID != data.UID)
|
||||
{
|
||||
_mareProfiles[data] = NsfwProfileData;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue