Browse Source

Resolve klint issues

Signed-off-by: Tim Krüger <t@timkrueger.me>
Tim Krüger 3 năm trước cách đây
mục cha
commit
567326da5a

+ 2 - 1
app/src/gplay/java/com/nextcloud/talk/services/firebase/MagicFirebaseMessagingService.kt

@@ -341,7 +341,8 @@ class MagicFirebaseMessagingService : FirebaseMessagingService() {
                     if (hasParticipantsInCall) {
                         for (participant in participantList) {
                             if (participant.actorId == signatureVerification.userEntity.userId &&
-                                participant.actorType == Participant.ActorType.USERS) {
+                                participant.actorType == Participant.ActorType.USERS
+                            ) {
                                 inCallOnDifferentDevice = true
                                 break
                             }

+ 2 - 1
app/src/main/java/com/nextcloud/talk/controllers/ChatController.kt

@@ -323,7 +323,8 @@ class ChatController(args: Bundle) :
                     override fun onNext(roomOverall: RoomOverall) {
                         currentConversation = roomOverall.ocs.data
                         Log.d(
-                            TAG, "getRoomInfo. token: " + currentConversation?.getToken() +
+                            TAG,
+                            "getRoomInfo. token: " + currentConversation?.getToken() +
                                 " sessionId: " + currentConversation?.sessionId
                         )
                         loadAvatarForStatusBar()