Fix ktlint

This commit is contained in:
Lucas Lima 2020-10-11 20:08:22 -03:00
parent 7093e50a03
commit 52420e5d61
No known key found for this signature in database
GPG key ID: 049CCC5A365B00D2
6 changed files with 1 additions and 9 deletions

View file

@ -1,7 +1,6 @@
package dev.lucasnlm.antimine.di
import dev.lucasnlm.antimine.about.viewmodel.AboutViewModel
import dev.lucasnlm.antimine.cloud.CloudSaveManager
import dev.lucasnlm.antimine.common.level.viewmodel.GameViewModel
import dev.lucasnlm.antimine.control.viewmodel.ControlViewModel
import dev.lucasnlm.antimine.custom.viewmodel.CreateGameViewModel

View file

@ -4,10 +4,8 @@ import android.graphics.Color
import android.os.Bundle
import android.view.View
import android.view.animation.AnimationUtils
import androidx.core.content.ContextCompat
import androidx.core.text.bold
import androidx.core.text.buildSpannedString
import androidx.core.text.color
import androidx.fragment.app.Fragment
import androidx.lifecycle.lifecycleScope
import androidx.recyclerview.widget.GridLayoutManager

View file

@ -3,7 +3,6 @@ package dev.lucasnlm.antimine.common.level.database.models
import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey
import dev.lucasnlm.external.model.CloudSave
@Entity
data class Stats(

View file

@ -7,7 +7,6 @@ import dev.lucasnlm.antimine.common.R
import dev.lucasnlm.antimine.common.level.GameController
import dev.lucasnlm.antimine.common.level.database.models.FirstOpen
import dev.lucasnlm.antimine.common.level.database.models.Save
import dev.lucasnlm.antimine.common.level.database.models.toHashMap
import dev.lucasnlm.antimine.common.level.models.Area
import dev.lucasnlm.antimine.common.level.models.Difficulty
import dev.lucasnlm.antimine.common.level.models.Event
@ -30,7 +29,6 @@ import dev.lucasnlm.antimine.core.themes.repository.IThemeRepository
import dev.lucasnlm.external.Achievement
import dev.lucasnlm.external.IPlayGamesManager
import dev.lucasnlm.external.Leaderboard
import dev.lucasnlm.external.model.CloudSave
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.delay
import kotlinx.coroutines.flow.collect

View file

@ -2,7 +2,6 @@ package dev.lucasnlm.antimine.core.preferences
import dev.lucasnlm.antimine.common.level.models.Minefield
import dev.lucasnlm.antimine.core.control.ControlStyle
import dev.lucasnlm.external.model.CloudSave
interface IPreferencesRepository {
fun hasCustomizations(): Boolean

View file

@ -50,5 +50,4 @@ fun cloudSaveOf(id: String, data: Map<String, Any>) =
data["stats"] as List<HashMap<String, String>>,
data["premiumFeatures"].toString().toInt(),
data["controlStyle"].toString().toInt(),
)
)