diff options
author | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2022-01-09 00:15:10 +0700 |
---|---|---|
committer | Wyvest <45589059+Wyvest@users.noreply.github.com> | 2022-01-09 00:15:10 +0700 |
commit | ddc94dc9388086657b889d8fd43a82bcadd82bbe (patch) | |
tree | a407b76c62122298e43ff51b10a78114637d5bba /src/main/kotlin/cc/woverflow/chatting/utils | |
parent | 7612c2e65d07e9b3ce13729da4eb95a6d7173a71 (diff) | |
download | Chatting-ddc94dc9388086657b889d8fd43a82bcadd82bbe.tar.gz Chatting-ddc94dc9388086657b889d8fd43a82bcadd82bbe.tar.bz2 Chatting-ddc94dc9388086657b889d8fd43a82bcadd82bbe.zip |
fix chat copy being in the wrong position
Diffstat (limited to 'src/main/kotlin/cc/woverflow/chatting/utils')
-rw-r--r-- | src/main/kotlin/cc/woverflow/chatting/utils/ListenableArrayList.kt | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/main/kotlin/cc/woverflow/chatting/utils/ListenableArrayList.kt b/src/main/kotlin/cc/woverflow/chatting/utils/ListenableArrayList.kt deleted file mode 100644 index 0cd598c..0000000 --- a/src/main/kotlin/cc/woverflow/chatting/utils/ListenableArrayList.kt +++ /dev/null @@ -1,9 +0,0 @@ -package cc.woverflow.chatting.utils - -class ListenableArrayList<T>(private val runnable: (ListenableArrayList<T>) -> Unit, vararg elements: T): ArrayList<T>() { - override fun add(element: T): Boolean { - val value = super.add(element) - runnable.invoke(this) - return value - } -}
\ No newline at end of file |