Merge pull request #564 from daemitus/fix1

fix: update single plugin button did not check if testing
This commit is contained in:
goaaats 2021-09-14 20:51:32 +02:00 committed by GitHub
commit 1f3dd8c230
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1378,7 +1378,12 @@ namespace Dalamud.Interface.Internal.Windows
}
if (ImGui.IsItemHovered())
ImGui.SetTooltip(Locs.PluginButtonToolTip_UpdateSingle(update.UpdateManifest.AssemblyVersion.ToString()));
{
var updateVersion = update.UseTesting
? update.UpdateManifest.TestingAssemblyVersion
: update.UpdateManifest.AssemblyVersion;
ImGui.SetTooltip(Locs.PluginButtonToolTip_UpdateSingle(updateVersion.ToString()));
}
}
private void DrawOpenPluginSettingsButton(LocalPlugin plugin)