Fix build
This commit is contained in:
parent
23c92d0073
commit
e9844e0fee
3 changed files with 1 additions and 4 deletions
|
@ -56,7 +56,6 @@ import kotlinx.coroutines.GlobalScope
|
|||
import kotlinx.coroutines.delay
|
||||
import kotlinx.coroutines.flow.collect
|
||||
import kotlinx.coroutines.launch
|
||||
import kotlinx.coroutines.*
|
||||
import org.koin.android.ext.android.inject
|
||||
import org.koin.androidx.viewmodel.ext.android.viewModel
|
||||
|
||||
|
@ -385,6 +384,7 @@ class GameActivity : ThematicActivity(R.layout.activity_game), DialogInterface.O
|
|||
|
||||
// New Features
|
||||
findItem(R.id.themes).setActionView(R.layout.new_icon)
|
||||
findItem(R.id.tutorial).setActionView(R.layout.new_icon)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -103,12 +103,10 @@ class TutorialAreaAdapter(
|
|||
when (motionEvent.action) {
|
||||
MotionEvent.ACTION_DOWN -> {
|
||||
view.isPressed = true
|
||||
viewModel.startLongPressFeedback()
|
||||
true
|
||||
}
|
||||
MotionEvent.ACTION_UP -> {
|
||||
view.isPressed = false
|
||||
viewModel.cancelLongPressFeedback()
|
||||
val dt = motionEvent.eventTime - motionEvent.downTime
|
||||
|
||||
if (dt > preferencesRepository.customLongPressTimeout()) {
|
||||
|
|
|
@ -78,7 +78,6 @@ class TutorialViewModel(
|
|||
}
|
||||
|
||||
override suspend fun onDoubleClick(index: Int) {
|
||||
|
||||
}
|
||||
|
||||
override suspend fun onSingleClick(index: Int) {
|
||||
|
|
Loading…
Reference in a new issue