This commit is contained in:
@@ -34,7 +34,7 @@ public sealed class BotPagesApp
|
||||
/// <summary>
|
||||
/// Установить страницу по умолчанию.
|
||||
/// </summary>
|
||||
public BotPagesApp AddDefaultPage<TPage>() where TPage : Page
|
||||
public BotPagesApp AddDefaultPage<TPage>() where TPage : SingletonPage
|
||||
{
|
||||
_navigation.AddDefaultPage<TPage>();
|
||||
return this;
|
||||
|
||||
Reference in New Issue
Block a user