1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00

Photo search: Set window title on Windows (#987)

Updates the window title to "Desktop Photo Search" in the Windows
build of desktop_photo_search.
This commit is contained in:
Chris Bracken
2022-01-13 18:24:57 -08:00
committed by GitHub
parent e0fe2830cb
commit 8da15e2059

View File

@@ -27,7 +27,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
FlutterWindow window(project);
Win32Window::Point origin(10, 10);
Win32Window::Size size(1280, 720);
if (!window.CreateAndShow(L"desktop_photo_search", origin, size)) {
if (!window.CreateAndShow(L"Desktop Photo Search", origin, size)) {
return EXIT_FAILURE;
}
window.SetQuitOnClose(true);