mirror of
https://github.com/TermoraDev/termora.git
synced 2026-01-16 10:22:58 +08:00
feat: support WebDAV
This commit is contained in:
@@ -159,4 +159,6 @@ object Icons {
|
||||
val desktop_mac by lazy { DynamicIcon("icons/desktop_mac.svg", "icons/desktop_mac_dark.svg") }
|
||||
val desktop by lazy { DynamicIcon("icons/desktop.svg", "icons/desktop_dark.svg") }
|
||||
val moreHorizontal by lazy { DynamicIcon("icons/moreHorizontal.svg", "icons/moreHorizontal_dark.svg") }
|
||||
val springCloudFileSet by lazy { DynamicIcon("icons/springCloudFileSet.svg", "icons/springCloudFileSet_dark.svg") }
|
||||
val dav by lazy { DynamicIcon("icons/dav.svg", "icons/dav_dark.svg") }
|
||||
}
|
||||
@@ -436,7 +436,7 @@ class TransferTableModel(private val coroutineScope: CoroutineScope) :
|
||||
}
|
||||
}
|
||||
} catch (e: Exception) {
|
||||
tryChangeState(node, State.Failed)
|
||||
withContext(Dispatchers.Swing) { tryChangeState(node, State.Failed) }
|
||||
if (e !is UserCanceledException) {
|
||||
node.setException(e)
|
||||
throw e
|
||||
|
||||
Reference in New Issue
Block a user