mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Autoformat
This commit is contained in:
parent
adeed62b68
commit
95eaca1ee8
1 changed files with 15 additions and 15 deletions
|
|
@ -387,16 +387,16 @@ namespace Dalamud.Interface.Internal.Windows
|
||||||
{
|
{
|
||||||
ImGui.Text(Locs.FeedbackModal_Text(this.feedbackPlugin.Name));
|
ImGui.Text(Locs.FeedbackModal_Text(this.feedbackPlugin.Name));
|
||||||
|
|
||||||
if (this.feedbackPlugin?.FeedbackMessage != null)
|
if (this.feedbackPlugin?.FeedbackMessage != null)
|
||||||
{
|
{
|
||||||
ImGui.TextWrapped(this.feedbackPlugin.FeedbackMessage);
|
ImGui.TextWrapped(this.feedbackPlugin.FeedbackMessage);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (this.pluginListUpdatable.Any(
|
if (this.pluginListUpdatable.Any(
|
||||||
up => up.InstalledPlugin.Manifest.InternalName == this.feedbackPlugin?.InternalName))
|
up => up.InstalledPlugin.Manifest.InternalName == this.feedbackPlugin?.InternalName))
|
||||||
{
|
{
|
||||||
ImGui.TextColored(ImGuiColors.DalamudRed, Locs.FeedbackModal_HasUpdate);
|
ImGui.TextColored(ImGuiColors.DalamudRed, Locs.FeedbackModal_HasUpdate);
|
||||||
}
|
}
|
||||||
|
|
||||||
ImGui.Spacing();
|
ImGui.Spacing();
|
||||||
|
|
||||||
|
|
@ -1231,10 +1231,10 @@ namespace Dalamud.Interface.Internal.Windows
|
||||||
|
|
||||||
this.DrawVisitRepoUrlButton(manifest.RepoUrl);
|
this.DrawVisitRepoUrlButton(manifest.RepoUrl);
|
||||||
|
|
||||||
if (!manifest.SourceRepo.IsThirdParty && manifest.AcceptsFeedback)
|
if (!manifest.SourceRepo.IsThirdParty && manifest.AcceptsFeedback)
|
||||||
{
|
{
|
||||||
this.DrawSendFeedbackButton(manifest);
|
this.DrawSendFeedbackButton(manifest);
|
||||||
}
|
}
|
||||||
|
|
||||||
ImGuiHelpers.ScaledDummy(5);
|
ImGuiHelpers.ScaledDummy(5);
|
||||||
|
|
||||||
|
|
@ -1405,8 +1405,8 @@ namespace Dalamud.Interface.Internal.Windows
|
||||||
ImGui.SameLine();
|
ImGui.SameLine();
|
||||||
ImGui.TextColored(ImGuiColors.DalamudGrey3, downloadText);
|
ImGui.TextColored(ImGuiColors.DalamudGrey3, downloadText);
|
||||||
|
|
||||||
var isThirdParty = manifest.IsThirdParty;
|
var isThirdParty = manifest.IsThirdParty;
|
||||||
var canFeedback = !isThirdParty && !plugin.IsDev && plugin.Manifest.DalamudApiLevel == PluginManager.DalamudApiLevel && plugin.Manifest.AcceptsFeedback;
|
var canFeedback = !isThirdParty && !plugin.IsDev && plugin.Manifest.DalamudApiLevel == PluginManager.DalamudApiLevel && plugin.Manifest.AcceptsFeedback;
|
||||||
|
|
||||||
// Installed from
|
// Installed from
|
||||||
if (plugin.IsDev)
|
if (plugin.IsDev)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue