Skip to content

Commit

Permalink
Fixup InitRxUI to account for order of passed registration namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Metadorius authored Aug 27, 2024
1 parent 4edfbb3 commit 2880317
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/ReactiveUI/Mixins/DependencyResolverMixins.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,9 @@ public static void InitializeReactiveUI(this IMutableDependencyResolver resolver
}

var extraNs =
possibleNamespaces
.Where(kvp => registrationNamespaces.Contains(kvp.Key))
.Select(kvp => kvp.Value)
registrationNamespaces
.Where(ns => possibleNamespaces.ContainsKey(ns))
.Select(ns => possibleNamespaces[ns])
.ToArray();

// Set up the built-in registration
Expand Down

0 comments on commit 2880317

Please sign in to comment.