File tree Expand file tree Collapse file tree
org.nickvision.application.winui/Views Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -48,6 +48,7 @@ namespace winrt::Nickvision::Application::WinUI::Views::implementation
4848 {
4949 InitializeComponent ();
5050 this ->m_inner .as <::IWindowNative>()->get_WindowHandle (&m_hwnd);
51+ AppWindow ().SetIcon (L" resources\\ icon.ico" );
5152 ExtendsContentIntoTitleBar (true );
5253 SetTitleBar (TitleBar ());
5354 }
@@ -63,6 +64,7 @@ namespace winrt::Nickvision::Application::WinUI::Views::implementation
6364 m_controller->appUpdateProgressChanged () += [this ](const ParamEventArgs<double >& args){ DispatcherQueue ().TryEnqueue ([this , args](){ OnAppUpdateProgressChanged (args); }); };
6465 m_controller->folderChanged () += [this ](const EventArgs& args){ OnFolderChanged (args); };
6566 // Localize Strings
67+ AppWindow ().Title (winrt::to_hstring (m_controller->getAppInfo ().getShortName ()));
6668 TitleBar ().Title (winrt::to_hstring (m_controller->getAppInfo ().getShortName ()));
6769 TitleBar ().Subtitle (m_controller->getAppInfo ().getVersion ().getVersionType () == VersionType::Preview ? winrt::to_hstring (_ (" Preview" )) : L" " );
6870 NavViewHome ().Content (winrt::box_value (winrt::to_hstring (_ (" Home" ))));
You can’t perform that action at this time.
0 commit comments