Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
Signed-off-by: Bari Rao <[email protected]>
  • Loading branch information
barribarrier committed Sep 30, 2024
1 parent 0fb0618 commit ba92cb6
Showing 1 changed file with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,8 @@ void FlutterELinuxEngine::HandlePlatformMessage(

auto message = ConvertToDesktopMessage(*engine_message);

message_dispatcher_->HandleMessage(message, [this] {}, [this] {});
message_dispatcher_->HandleMessage(
message, [this] {}, [this] {});
}

void FlutterELinuxEngine::ReloadSystemFonts() {
Expand All @@ -397,9 +398,10 @@ void FlutterELinuxEngine::SendSystemLocales() {
// Convert the locale list to the locale pointer list that must be provided.
std::vector<const FlutterLocale*> flutter_locale_list;
flutter_locale_list.reserve(flutter_locales.size());
std::transform(flutter_locales.begin(), flutter_locales.end(),
std::back_inserter(flutter_locale_list),
[](const auto& arg) -> const auto* { return &arg; });
std::transform(
flutter_locales.begin(), flutter_locales.end(),
std::back_inserter(flutter_locale_list),
[](const auto& arg) -> const auto* { return &arg; });
auto result = embedder_api_.UpdateLocales(engine_, flutter_locale_list.data(),
flutter_locale_list.size());
if (result != kSuccess) {
Expand Down

0 comments on commit ba92cb6

Please sign in to comment.