Skip to content

Commit

Permalink
fix(kwin): update usage of findFirstIndex function from lib to `l…
Browse files Browse the repository at this point in the history
…ib.lists` (#397)
  • Loading branch information
HeitorAugustoLN authored Oct 19, 2024
1 parent d226a67 commit fda10d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/kwin.nix
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ let
if value == null then
null
else
lib.findFirstIndex (
lib.lists.findFirstIndex (
x: x == value
) (throw "getIndexFromEnum (kwin): Value ${value} isn't present in the enum. This is a bug") enum;

Expand Down

0 comments on commit fda10d0

Please sign in to comment.