Skip to content

Commit

Permalink
imp - Don't show license infobox in classic
Browse files Browse the repository at this point in the history
---

In the classic way of start-up (as introduced in 0.0.1), don't show license infobox.

---

Type: imp
Breaking: False
Doc Required: False
Part: 1/1
  • Loading branch information
AptiviCEO committed Feb 15, 2024
1 parent 4c46ee1 commit 86dde13
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion public/Nitrocid/Kernel/KernelEntry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
using Nitrocid.Kernel.Configuration;
using Nitrocid.Kernel.Threading;
using Nitrocid.Network.Types.RSS;
using Terminaux.Colors;

namespace Nitrocid.Kernel
{
Expand Down Expand Up @@ -98,7 +99,7 @@ internal static void EntryPoint(string[] args)
}

// Show the license infobox
if (Config.MainConfig.ShowLicenseInfoBox)
if (Config.MainConfig.ShowLicenseInfoBox && SplashManager.EnableSplash)
{
string rendered = Translate.DoTranslation("License information");
string dashes = new('=', rendered.Length);
Expand All @@ -108,6 +109,7 @@ internal static void EntryPoint(string[] args)
WelcomeMessage.GetLicenseString(), false, KernelColorTools.GetColor(KernelColorType.License)
);
ThreadManager.SleepUntilInput(3000);
ColorTools.LoadBack();
}

// Start the main loop
Expand Down

0 comments on commit 86dde13

Please sign in to comment.