Skip to content

Commit

Permalink
fixup! fixup! fixup! [SDK] Добавил переключатель настройки пресета гр…
Browse files Browse the repository at this point in the history
…афики в навигацию
  • Loading branch information
e.pavlushov committed Aug 29, 2024
1 parent f87d082 commit 5bcaf82
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion app/src/main/java/ru/dgis/sdk/demo/NavigationActivity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,12 @@ class NavigationActivity : AppCompatActivity(), TouchEventsObserver {
)
}
)
it.graphicsPreset = GraphicsPreset.NORMAL
when (it.graphicsPresetHintChannel.value) {
GraphicsPreset.LITE -> graphicPreset.check(R.id.litePreset)
GraphicsPreset.NORMAL -> graphicPreset.check(R.id.normalPreset)
GraphicsPreset.IMMERSIVE -> graphicPreset.check(R.id.immersivePreset)
else -> {}
}
}
}

Expand Down

0 comments on commit 5bcaf82

Please sign in to comment.