mirror of
https://github.com/Kunzisoft/KeePassDX.git
synced 2026-11-26 20:06:37 -08:00
fix: Small warning
This commit is contained in:
1 parent
ee1a0a53a6
commit
b713237ec3
3 files changed
+11
-14
No files matched your search
@@ -73,7 +73,7 @@ object UriHelper {
|
||||
|
||||
fun Uri.withFileScheme(): Boolean {
|
||||
val scheme = this.scheme
|
||||
if (scheme == null || scheme.isEmpty() || scheme.lowercase(Locale.ENGLISH) == "file") {
|
||||
if (scheme.isNullOrEmpty() || scheme.lowercase(Locale.ENGLISH) == "file") {
|
||||
return true
|
||||
}
|
||||
return false
|
||||
@@ -87,5 +87,5 @@ object UriHelper {
|
||||
return false
|
||||
}
|
||||
|
||||
private const val TAG = "UriUtilDatabase"
|
||||
private const val TAG = "UriHelper"
|
||||
}
|
||||
Reference in new issue
Block a user