CODEBASE: Update comment of LoadingScreen of ComplexPage enum (#2527)

This commit is contained in:
catloversg
2026-02-25 02:59:18 +07:00
committed by GitHub
parent dbc58f1f58
commit d677b4ad18

View File

@@ -5,7 +5,6 @@ export enum ToastVariant {
INFO = "info",
}
// This enum doesn't need enum helper support for now
/**
* The full-screen page the player is currently be on.
* These are "simple" pages that don't require any extra parameters to
@@ -53,5 +52,8 @@ export enum ComplexPage {
Location = "Location",
ImportSave = "Import Save",
Documentation = "Documentation",
LoadingScreen = "Loading Screen", // Has no PageContext, and thus toPage() cannot be used
// LoadingScreen is a special state that should never be returned to after the initial game load. To enforce this, it
// is constructed as a ComplexPage with no PageContext, and thus toPage() cannot be used (since no overload will fit
// it).
LoadingScreen = "Loading Screen",
}