From 216f094e983018c27689835e277bd2611ab2bf9d Mon Sep 17 00:00:00 2001 From: Konrad Pozniak Date: Sat, 16 Apr 2022 09:45:45 +0200 Subject: [PATCH] upgrade ktlint gradle plugin to 10.2.1 (#2435) --- .../main/java/com/keylesspalace/tusky/ViewMediaActivity.kt | 1 - build.gradle | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/com/keylesspalace/tusky/ViewMediaActivity.kt b/app/src/main/java/com/keylesspalace/tusky/ViewMediaActivity.kt index 64d29577b..fda2c82b6 100644 --- a/app/src/main/java/com/keylesspalace/tusky/ViewMediaActivity.kt +++ b/app/src/main/java/com/keylesspalace/tusky/ViewMediaActivity.kt @@ -283,7 +283,6 @@ class ViewMediaActivity : BaseActivity(), ViewImageFragment.PhotoActionsListener } return@fromCallable false } - .subscribeOn(Schedulers.io()) .observeOn(AndroidSchedulers.mainThread()) .doOnDispose { diff --git a/build.gradle b/build.gradle index ace9a1179..3a5251fa0 100644 --- a/build.gradle +++ b/build.gradle @@ -7,11 +7,11 @@ buildscript { dependencies { classpath "com.android.tools.build:gradle:7.1.2" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.6.20" - classpath "org.jlleitschuh.gradle:ktlint-gradle:10.1.0" + classpath "org.jlleitschuh.gradle:ktlint-gradle:10.2.1" } } plugins { - id "org.jlleitschuh.gradle.ktlint" version "10.1.0" + id "org.jlleitschuh.gradle.ktlint" version "10.2.1" } allprojects {