mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-28 05:59:05 +03:00
ktlint cleanup
This commit is contained in:
parent
f7e040efd2
commit
573ec29829
11 changed files with 5 additions and 13 deletions
|
@ -16,7 +16,6 @@
|
|||
|
||||
package im.vector.lib.multipicker
|
||||
|
||||
import android.app.Activity
|
||||
import android.content.Context
|
||||
import android.content.Intent
|
||||
import android.net.Uri
|
||||
|
|
|
@ -22,7 +22,6 @@ import com.google.firebase.iid.FirebaseInstanceId
|
|||
import im.vector.app.R
|
||||
import im.vector.app.core.resources.StringProvider
|
||||
import im.vector.app.core.utils.startAddGoogleAccountIntent
|
||||
import im.vector.app.features.settings.troubleshoot.NotificationTroubleshootTestManager
|
||||
import im.vector.app.features.settings.troubleshoot.TroubleshootTest
|
||||
import im.vector.app.push.fcm.FcmHelper
|
||||
import timber.log.Timber
|
||||
|
|
|
@ -37,7 +37,6 @@ import androidx.browser.customtabs.CustomTabsSession
|
|||
import androidx.core.content.ContextCompat
|
||||
import androidx.core.content.FileProvider
|
||||
import androidx.core.content.getSystemService
|
||||
import androidx.fragment.app.Fragment
|
||||
import im.vector.app.BuildConfig
|
||||
import im.vector.app.R
|
||||
import im.vector.app.features.notifications.NotificationUtils
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
package im.vector.app.features.crypto.keysbackup.setup
|
||||
|
||||
import android.app.Activity
|
||||
import android.content.Intent
|
||||
import android.net.Uri
|
||||
import android.os.Bundle
|
||||
import android.view.View
|
||||
|
|
|
@ -17,7 +17,6 @@ package im.vector.app.features.crypto.verification
|
|||
|
||||
import android.app.Activity
|
||||
import android.app.Dialog
|
||||
import android.content.Intent
|
||||
import android.os.Bundle
|
||||
import android.os.Parcelable
|
||||
import android.view.KeyEvent
|
||||
|
|
|
@ -36,7 +36,6 @@ import org.matrix.android.sdk.api.session.identity.SharedState
|
|||
import org.matrix.android.sdk.api.session.identity.ThreePid
|
||||
import org.matrix.android.sdk.api.session.terms.TermsService
|
||||
import kotlinx.android.synthetic.main.fragment_generic_recycler.*
|
||||
import timber.log.Timber
|
||||
import javax.inject.Inject
|
||||
|
||||
class DiscoverySettingsFragment @Inject constructor(
|
||||
|
|
|
@ -798,7 +798,6 @@ class RoomDetailFragment @Inject constructor(
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
private fun safeStartCall2(isVideoCall: Boolean) {
|
||||
val startCallAction = RoomDetailAction.StartCall(isVideoCall)
|
||||
roomDetailViewModel.pendingAction = startCallAction
|
||||
|
|
|
@ -24,7 +24,6 @@ import androidx.activity.result.ActivityResultLauncher
|
|||
import androidx.core.util.Pair
|
||||
import im.vector.app.features.crypto.recover.SetupMode
|
||||
import im.vector.app.features.media.AttachmentData
|
||||
import im.vector.app.features.pin.PinActivity
|
||||
import im.vector.app.features.pin.PinMode
|
||||
import im.vector.app.features.roomdirectory.roompreview.RoomPreviewData
|
||||
import im.vector.app.features.settings.VectorSettingsActivity
|
||||
|
|
|
@ -119,7 +119,6 @@ class VectorSettingsNotificationPreferenceFragment @Inject constructor(
|
|||
// Noop
|
||||
}
|
||||
|
||||
|
||||
// BackgroundSyncModeChooserDialog.InteractionListener
|
||||
override fun onOptionSelected(mode: BackgroundSyncMode) {
|
||||
// option has change, need to act
|
||||
|
|
|
@ -322,7 +322,7 @@ class VectorSettingsSecurityPrivacyFragment @Inject constructor(
|
|||
|
||||
private val saveMegolmStartForActivityResult = registerStartForActivityResult {
|
||||
val uri = it.data?.data ?: return@registerStartForActivityResult
|
||||
if (it.resultCode == Activity.RESULT_OK)
|
||||
if (it.resultCode == Activity.RESULT_OK) {
|
||||
ExportKeysDialog().show(requireActivity(), object : ExportKeysDialog.ExportKeyDialogListener {
|
||||
override fun onPassphrase(passphrase: String) {
|
||||
displayLoadingView()
|
||||
|
@ -348,6 +348,7 @@ class VectorSettingsSecurityPrivacyFragment @Inject constructor(
|
|||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
private val pinActivityResultLauncher = registerStartForActivityResult {
|
||||
if (it.resultCode == Activity.RESULT_OK) {
|
||||
|
|
Loading…
Reference in a new issue