From 5c220cdef8b54718a916486136dfa7e4e1a8e5fd Mon Sep 17 00:00:00 2001 From: Kevin Schildhorn Date: Thu, 4 Apr 2024 11:45:32 -0400 Subject: [PATCH] formatting --- .../co/touchlab/droidcon/android/chat/ChannelActivity.kt | 2 +- .../java/co/touchlab/droidcon/android/chat/ChatManager.kt | 8 +++++--- .../java/co/touchlab/droidcon/android/chat/ChatView.kt | 2 +- 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/android/src/main/java/co/touchlab/droidcon/android/chat/ChannelActivity.kt b/android/src/main/java/co/touchlab/droidcon/android/chat/ChannelActivity.kt index b0328841..39449186 100644 --- a/android/src/main/java/co/touchlab/droidcon/android/chat/ChannelActivity.kt +++ b/android/src/main/java/co/touchlab/droidcon/android/chat/ChannelActivity.kt @@ -39,4 +39,4 @@ class ChannelActivity : ComponentActivity() { } } } -} \ No newline at end of file +} diff --git a/android/src/main/java/co/touchlab/droidcon/android/chat/ChatManager.kt b/android/src/main/java/co/touchlab/droidcon/android/chat/ChatManager.kt index 7c570e86..8329ccca 100644 --- a/android/src/main/java/co/touchlab/droidcon/android/chat/ChatManager.kt +++ b/android/src/main/java/co/touchlab/droidcon/android/chat/ChatManager.kt @@ -50,10 +50,12 @@ object ChatManager { chatLogger.v { "Successfully Connected!" } isConnected = true joinDefaultChannels(user.id) - }, onError = { + }, + onError = { chatLogger.e { "Error Connecting! $it" } isConnected = false - }) + } + ) } } @@ -70,4 +72,4 @@ object ChatManager { chatLogger.e { "Error Joining the General channel $it" } }) } -} \ No newline at end of file +} diff --git a/android/src/main/java/co/touchlab/droidcon/android/chat/ChatView.kt b/android/src/main/java/co/touchlab/droidcon/android/chat/ChatView.kt index 9bba45da..8c3eb68f 100644 --- a/android/src/main/java/co/touchlab/droidcon/android/chat/ChatView.kt +++ b/android/src/main/java/co/touchlab/droidcon/android/chat/ChatView.kt @@ -54,4 +54,4 @@ internal fun ChatView() { } } } -} \ No newline at end of file +}