diff --git a/app/src/main/java/dev/lucasnlm/antimine/di/ViewModelModule.kt b/app/src/main/java/dev/lucasnlm/antimine/di/ViewModelModule.kt index d822d703..e63a6bc4 100644 --- a/app/src/main/java/dev/lucasnlm/antimine/di/ViewModelModule.kt +++ b/app/src/main/java/dev/lucasnlm/antimine/di/ViewModelModule.kt @@ -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 diff --git a/app/src/main/java/dev/lucasnlm/antimine/tutorial/view/TutorialLevelFragment.kt b/app/src/main/java/dev/lucasnlm/antimine/tutorial/view/TutorialLevelFragment.kt index d4c19537..a68da5be 100644 --- a/app/src/main/java/dev/lucasnlm/antimine/tutorial/view/TutorialLevelFragment.kt +++ b/app/src/main/java/dev/lucasnlm/antimine/tutorial/view/TutorialLevelFragment.kt @@ -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 diff --git a/common/src/main/java/dev/lucasnlm/antimine/common/level/database/models/Stats.kt b/common/src/main/java/dev/lucasnlm/antimine/common/level/database/models/Stats.kt index 04197210..1dd1c958 100644 --- a/common/src/main/java/dev/lucasnlm/antimine/common/level/database/models/Stats.kt +++ b/common/src/main/java/dev/lucasnlm/antimine/common/level/database/models/Stats.kt @@ -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( diff --git a/common/src/main/java/dev/lucasnlm/antimine/common/level/viewmodel/GameViewModel.kt b/common/src/main/java/dev/lucasnlm/antimine/common/level/viewmodel/GameViewModel.kt index 507f6832..1eacf3af 100644 --- a/common/src/main/java/dev/lucasnlm/antimine/common/level/viewmodel/GameViewModel.kt +++ b/common/src/main/java/dev/lucasnlm/antimine/common/level/viewmodel/GameViewModel.kt @@ -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 diff --git a/common/src/main/java/dev/lucasnlm/antimine/core/preferences/IPreferencesRepository.kt b/common/src/main/java/dev/lucasnlm/antimine/core/preferences/IPreferencesRepository.kt index 2fb7baf6..fef970db 100644 --- a/common/src/main/java/dev/lucasnlm/antimine/core/preferences/IPreferencesRepository.kt +++ b/common/src/main/java/dev/lucasnlm/antimine/core/preferences/IPreferencesRepository.kt @@ -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 diff --git a/external/src/main/java/dev/lucasnlm/external/model/CloudSave.kt b/external/src/main/java/dev/lucasnlm/external/model/CloudSave.kt index 54fcfdfc..c347a771 100644 --- a/external/src/main/java/dev/lucasnlm/external/model/CloudSave.kt +++ b/external/src/main/java/dev/lucasnlm/external/model/CloudSave.kt @@ -50,5 +50,4 @@ fun cloudSaveOf(id: String, data: Map) = data["stats"] as List>, data["premiumFeatures"].toString().toInt(), data["controlStyle"].toString().toInt(), -) - + )