Remove report profile on group list since I accidentally removed it anyway
Add reload last data to group options too Add report button on the profile window UI instead ImGui.TextUnformatted
This commit is contained in:
@@ -215,7 +215,7 @@ internal sealed class GroupPanel
|
||||
if (string.Equals(groupDto.OwnerUID, ApiController.UID, StringComparison.Ordinal))
|
||||
{
|
||||
ImGui.PushFont(UiBuilder.IconFont);
|
||||
ImGui.Text(FontAwesomeIcon.Crown.ToIconString());
|
||||
ImGui.TextUnformatted(FontAwesomeIcon.Crown.ToIconString());
|
||||
ImGui.PopFont();
|
||||
UiSharedService.AttachToolTip("You are the owner of Syncshell " + groupName);
|
||||
ImGui.SameLine();
|
||||
@@ -223,7 +223,7 @@ internal sealed class GroupPanel
|
||||
else if (groupDto.GroupUserInfo.IsModerator())
|
||||
{
|
||||
ImGui.PushFont(UiBuilder.IconFont);
|
||||
ImGui.Text(FontAwesomeIcon.UserShield.ToIconString());
|
||||
ImGui.TextUnformatted(FontAwesomeIcon.UserShield.ToIconString());
|
||||
ImGui.PopFont();
|
||||
UiSharedService.AttachToolTip("You are a moderator of Syncshell " + groupName);
|
||||
ImGui.SameLine();
|
||||
@@ -510,14 +510,14 @@ internal sealed class GroupPanel
|
||||
ImGui.BeginTooltip();
|
||||
if (!invitesEnabled || soundsDisabled || animDisabled || vfxDisabled)
|
||||
{
|
||||
ImGui.Text("Syncshell permissions");
|
||||
ImGui.TextUnformatted("Syncshell permissions");
|
||||
|
||||
if (!invitesEnabled)
|
||||
{
|
||||
var lockedText = "Syncshell is closed for joining";
|
||||
_uiShared.IconText(lockedIcon);
|
||||
ImGui.SameLine(40 * ImGuiHelpers.GlobalScale);
|
||||
ImGui.Text(lockedText);
|
||||
ImGui.TextUnformatted(lockedText);
|
||||
}
|
||||
|
||||
if (soundsDisabled)
|
||||
@@ -525,7 +525,7 @@ internal sealed class GroupPanel
|
||||
var soundsText = "Sound sync disabled through owner";
|
||||
_uiShared.IconText(soundsIcon);
|
||||
ImGui.SameLine(40 * ImGuiHelpers.GlobalScale);
|
||||
ImGui.Text(soundsText);
|
||||
ImGui.TextUnformatted(soundsText);
|
||||
}
|
||||
|
||||
if (animDisabled)
|
||||
@@ -533,7 +533,7 @@ internal sealed class GroupPanel
|
||||
var animText = "Animation sync disabled through owner";
|
||||
_uiShared.IconText(animIcon);
|
||||
ImGui.SameLine(40 * ImGuiHelpers.GlobalScale);
|
||||
ImGui.Text(animText);
|
||||
ImGui.TextUnformatted(animText);
|
||||
}
|
||||
|
||||
if (vfxDisabled)
|
||||
@@ -541,7 +541,7 @@ internal sealed class GroupPanel
|
||||
var vfxText = "VFX sync disabled through owner";
|
||||
_uiShared.IconText(vfxIcon);
|
||||
ImGui.SameLine(40 * ImGuiHelpers.GlobalScale);
|
||||
ImGui.Text(vfxText);
|
||||
ImGui.TextUnformatted(vfxText);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -550,14 +550,14 @@ internal sealed class GroupPanel
|
||||
if (!invitesEnabled || soundsDisabled || animDisabled || vfxDisabled)
|
||||
ImGui.Separator();
|
||||
|
||||
ImGui.Text("Your permissions");
|
||||
ImGui.TextUnformatted("Your permissions");
|
||||
|
||||
if (userSoundsDisabled)
|
||||
{
|
||||
var userSoundsText = "Sound sync disabled through you";
|
||||
_uiShared.IconText(userSoundsIcon);
|
||||
ImGui.SameLine(40 * ImGuiHelpers.GlobalScale);
|
||||
ImGui.Text(userSoundsText);
|
||||
ImGui.TextUnformatted(userSoundsText);
|
||||
}
|
||||
|
||||
if (userAnimDisabled)
|
||||
@@ -565,7 +565,7 @@ internal sealed class GroupPanel
|
||||
var userAnimText = "Animation sync disabled through you";
|
||||
_uiShared.IconText(userAnimIcon);
|
||||
ImGui.SameLine(40 * ImGuiHelpers.GlobalScale);
|
||||
ImGui.Text(userAnimText);
|
||||
ImGui.TextUnformatted(userAnimText);
|
||||
}
|
||||
|
||||
if (userVFXDisabled)
|
||||
@@ -573,7 +573,7 @@ internal sealed class GroupPanel
|
||||
var userVFXText = "VFX sync disabled through you";
|
||||
_uiShared.IconText(userVFXIcon);
|
||||
ImGui.SameLine(40 * ImGuiHelpers.GlobalScale);
|
||||
ImGui.Text(userVFXText);
|
||||
ImGui.TextUnformatted(userVFXText);
|
||||
}
|
||||
|
||||
if (!invitesEnabled || soundsDisabled || animDisabled || vfxDisabled)
|
||||
|
||||
Reference in New Issue
Block a user