Fix ktlint
This commit is contained in:
parent
7093e50a03
commit
52420e5d61
6 changed files with 1 additions and 9 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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(
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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(),
|
||||
)
|
||||
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue