mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-14 00:05:04 +01:00
reformat kotlin
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
This commit is contained in:
parent
6206e4910d
commit
6e02c5de41
@ -124,7 +124,7 @@ class AccountVerificationController(args: Bundle? = null) :
|
||||
}
|
||||
}
|
||||
|
||||
private fun isSameProtocol(baseUrl: String, originalProtocol: String ) : Boolean {
|
||||
private fun isSameProtocol(baseUrl: String, originalProtocol: String): Boolean {
|
||||
return !TextUtils.isEmpty(originalProtocol) && !baseUrl.startsWith(originalProtocol)
|
||||
}
|
||||
|
||||
|
@ -2259,7 +2259,7 @@ class ChatController(args: Bundle) :
|
||||
private fun isSameDayNonSystemMessages(messageLeft: ChatMessage, messageRight: ChatMessage): Boolean {
|
||||
return TextUtils.isEmpty(messageLeft.systemMessage) &&
|
||||
TextUtils.isEmpty(messageRight.systemMessage) &&
|
||||
DateFormatter.isSameDay(messageLeft.createdAt,messageRight.createdAt)
|
||||
DateFormatter.isSameDay(messageLeft.createdAt, messageRight.createdAt)
|
||||
}
|
||||
|
||||
override fun onLoadMore(page: Int, totalItemsCount: Int) {
|
||||
|
@ -1,7 +1,9 @@
|
||||
/*
|
||||
* Nextcloud Talk application
|
||||
*
|
||||
* @author Andy Scherzinger
|
||||
* @author Marcel Hibbe
|
||||
* Copyright (C) 2022 Andy Scherzinger <info@andy-scherzinger.de>
|
||||
* Copyright (C) 2021 Marcel Hibbe <dev@mhibbe.de>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
@ -24,7 +26,6 @@ import android.content.Context
|
||||
import android.database.Cursor
|
||||
import android.net.Uri
|
||||
import android.provider.OpenableColumns
|
||||
import android.text.TextUtils
|
||||
import android.util.Log
|
||||
|
||||
class UriUtils {
|
||||
|
Loading…
Reference in New Issue
Block a user