diff src/name/blackcap/clipman/Files.kt @ 58:88056f373a94

Set app name, deal with some deprecation.
author David Barts <n5jrn@me.com>
date Sat, 26 Mar 2022 23:45:34 -0700
parents c8ec2d7af3fb
children
line wrap: on
line diff
--- a/src/name/blackcap/clipman/Files.kt	Wed Mar 23 23:56:29 2022 -0700
+++ b/src/name/blackcap/clipman/Files.kt	Sat Mar 26 23:45:34 2022 -0700
@@ -19,7 +19,7 @@
 enum class OS {
     MAC, UNIX, WINDOWS, OTHER;
     companion object {
-        private val rawType = System.getProperty("os.name")?.toLowerCase()
+        private val rawType = System.getProperty("os.name")?.lowercase()
         val type = if (rawType == null) {
                 OTHER
             } else if (rawType.contains("win")) {