diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index fe5cbea5..449fc4e7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,7 +14,7 @@ on: env: GO_VERSION: "1.24" - FLUTTER_VERSION: "3.41.2" + FLUTTER_VERSION: "3.41.6" GA4_MEASUREMENT_ID: ${{ secrets.GA4_MEASUREMENT_ID }} GA4_API_SECRET: ${{ secrets.GA4_API_SECRET }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index af4fcace..835a70d9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,7 +29,7 @@ on: env: GO_VERSION: "1.24" - FLUTTER_VERSION: "3.41.2" + FLUTTER_VERSION: "3.41.6" jobs: # lint: diff --git a/ui/flutter/windows/runner/main.cpp b/ui/flutter/windows/runner/main.cpp index 2a5ee88a..657a0070 100644 --- a/ui/flutter/windows/runner/main.cpp +++ b/ui/flutter/windows/runner/main.cpp @@ -65,11 +65,6 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev, flutter::DartProject project(L"data"); - // TODO: Remove this. - // This forces Flutter to use a separate thread for Dart. - // This mode will be removed in a future version of Flutter. - project.set_ui_thread_policy(flutter::UIThreadPolicy::RunOnSeparateThread); - std::vector command_line_arguments = GetCommandLineArguments();