From 9fcbde2f071a29e6a8c0ebeb5cfa76d4293b2552 Mon Sep 17 00:00:00 2001 From: SphericalKat Date: Sat, 22 May 2021 13:41:51 +0530 Subject: chore(format): format code using spotless Signed-off-by: SphericalKat --- app/build.gradle.kts | 4 +--- .../main/java/dev/msfjarvis/aps/util/extensions/AndroidExtensions.kt | 1 - app/src/test/java/dev/msfjarvis/aps/util/settings/MigrationsTest.kt | 1 - 3 files changed, 1 insertion(+), 5 deletions(-) (limited to 'app') diff --git a/app/build.gradle.kts b/app/build.gradle.kts index c12cf566..9be48da0 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -47,9 +47,7 @@ android { create("free") {} create("nonFree") {} } - testOptions { - unitTests.isReturnDefaultValues = true - } + testOptions { unitTests.isReturnDefaultValues = true } } dependencies { diff --git a/app/src/main/java/dev/msfjarvis/aps/util/extensions/AndroidExtensions.kt b/app/src/main/java/dev/msfjarvis/aps/util/extensions/AndroidExtensions.kt index 0c43d6cd..29554127 100644 --- a/app/src/main/java/dev/msfjarvis/aps/util/extensions/AndroidExtensions.kt +++ b/app/src/main/java/dev/msfjarvis/aps/util/extensions/AndroidExtensions.kt @@ -22,7 +22,6 @@ import androidx.appcompat.app.AlertDialog import androidx.core.content.ContextCompat import androidx.core.content.getSystemService import androidx.fragment.app.FragmentActivity -import androidx.preference.PreferenceManager import androidx.security.crypto.EncryptedSharedPreferences import androidx.security.crypto.MasterKey import com.github.ajalt.timberkt.d diff --git a/app/src/test/java/dev/msfjarvis/aps/util/settings/MigrationsTest.kt b/app/src/test/java/dev/msfjarvis/aps/util/settings/MigrationsTest.kt index d6c9e6b6..835815e8 100644 --- a/app/src/test/java/dev/msfjarvis/aps/util/settings/MigrationsTest.kt +++ b/app/src/test/java/dev/msfjarvis/aps/util/settings/MigrationsTest.kt @@ -10,7 +10,6 @@ package dev.msfjarvis.aps.util.settings import android.content.Context import androidx.core.content.edit import com.github.ivanshafran.sharedpreferencesmock.SPMockBuilder -import dev.msfjarvis.aps.Application import dev.msfjarvis.aps.util.extensions.getString import dev.msfjarvis.aps.util.extensions.sharedPrefs import org.junit.Assert.assertEquals -- cgit v1.2.3