parent
4537a95d2d
commit
3c178dbb96
|
@ -25,6 +25,17 @@
|
|||
<option name="screenX" value="1080" />
|
||||
<option name="screenY" value="2160" />
|
||||
</PersistentDeviceSelectionData>
|
||||
<PersistentDeviceSelectionData>
|
||||
<option name="api" value="34" />
|
||||
<option name="brand" value="Lenovo" />
|
||||
<option name="codename" value="TB370FU" />
|
||||
<option name="id" value="TB370FU" />
|
||||
<option name="manufacturer" value="Lenovo" />
|
||||
<option name="name" value="Tab P12" />
|
||||
<option name="screenDensity" value="340" />
|
||||
<option name="screenX" value="1840" />
|
||||
<option name="screenY" value="2944" />
|
||||
</PersistentDeviceSelectionData>
|
||||
<PersistentDeviceSelectionData>
|
||||
<option name="api" value="31" />
|
||||
<option name="brand" value="samsung" />
|
||||
|
|
|
@ -246,8 +246,15 @@ class RouletteSettingsViewModel(private val repository: RouletteRepository) : Ba
|
|||
SelectedRoulette.ROULETTE_3 -> "룰렛 3"
|
||||
}
|
||||
|
||||
val successMessage = "$selectedRouletteTitle " +
|
||||
if (isActive || availableActive) "로 설정하였습니다." else "을 설정했습니다."
|
||||
val successMessage = if (availableActive) {
|
||||
if (isActive) {
|
||||
"${selectedRouletteTitle}로 설정하였습니다."
|
||||
} else {
|
||||
"${selectedRouletteTitle}을 설정했습니다."
|
||||
}
|
||||
} else {
|
||||
"${selectedRouletteTitle}을 생성했습니다."
|
||||
}
|
||||
|
||||
compositeDisposable.add(
|
||||
repository.createRoulette(
|
||||
|
|
Loading…
Reference in New Issue