mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
fix: trim spaces at the end of repo url
This commit is contained in:
parent
85affedaa8
commit
711baec9b6
1 changed files with 1 additions and 0 deletions
|
|
@ -448,6 +448,7 @@ namespace Dalamud.Interface.Internal.Windows
|
|||
ImGui.NextColumn();
|
||||
if (!string.IsNullOrEmpty(this.thirdRepoTempUrl) && ImGuiComponents.IconButton(FontAwesomeIcon.Plus))
|
||||
{
|
||||
this.thirdRepoTempUrl = this.thirdRepoTempUrl.TrimEnd();
|
||||
if (this.thirdRepoList.Any(r => string.Equals(r.Url, this.thirdRepoTempUrl, StringComparison.InvariantCultureIgnoreCase)))
|
||||
{
|
||||
this.thirdRepoAddError = Loc.Localize("DalamudThirdRepoExists", "Repo already exists.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue