diff options
author | Roman / Linnea Gräf <romangraef@gmail.com> | 2022-09-28 10:45:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-28 10:45:59 +0200 |
commit | a38f1a3f6fac894f62ed6f80a332a167a030ea4c (patch) | |
tree | c390727aff7ba8f268561a1178b291354be68293 /src/main/java/at/hannibal2/skyhanni/utils/StringUtils.kt | |
parent | 57a4971ab247be746ebb5cdad6ecb20d05936147 (diff) | |
download | skyhanni-a38f1a3f6fac894f62ed6f80a332a167a030ea4c.tar.gz skyhanni-a38f1a3f6fac894f62ed6f80a332a167a030ea4c.tar.bz2 skyhanni-a38f1a3f6fac894f62ed6f80a332a167a030ea4c.zip |
Add coroutines into ApiKeyGrabber.kt (#5)
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils/StringUtils.kt')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/StringUtils.kt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/StringUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/StringUtils.kt index 039cf0e21..52a58c4a6 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/StringUtils.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/StringUtils.kt @@ -84,4 +84,8 @@ object StringUtils { val incrementedLastChar = (lastChar.code + 1).toChar() return inputWithoutLastChar + incrementedLastChar } + fun UUID.toDashlessUUID(): String { + return toString().replace("-", "") + } + }
\ No newline at end of file |