There was an error while loading. Please reload this page.
1 parent 44b82fa commit 46c781aCopy full SHA for 46c781a
1 file changed
src/main/scala/introprog/Swing.scala
@@ -26,7 +26,7 @@ object Swing:
26
27
/** Find a look and feel with a name including `partOfName`. */
28
def findLookAndFeel(partOfName: String): Option[String] =
29
- installedLookAndFeels.find(_.toLowerCase contains partOfName)
+ installedLookAndFeels.find(_.toLowerCase `contains` partOfName)
30
31
/** Test if the current operating system name includes `partOfName`. */
32
def isOS(partOfName: String): Boolean =
0 commit comments