룰렛 설정 완료 메시지
- 채널에서 새 룰렛을 저장할 때 성공메시지 수정
This commit is contained in:
11
.idea/other.xml
generated
11
.idea/other.xml
generated
@@ -25,6 +25,17 @@
|
|||||||
<option name="screenX" value="1080" />
|
<option name="screenX" value="1080" />
|
||||||
<option name="screenY" value="2160" />
|
<option name="screenY" value="2160" />
|
||||||
</PersistentDeviceSelectionData>
|
</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>
|
<PersistentDeviceSelectionData>
|
||||||
<option name="api" value="31" />
|
<option name="api" value="31" />
|
||||||
<option name="brand" value="samsung" />
|
<option name="brand" value="samsung" />
|
||||||
|
@@ -246,8 +246,15 @@ class RouletteSettingsViewModel(private val repository: RouletteRepository) : Ba
|
|||||||
SelectedRoulette.ROULETTE_3 -> "룰렛 3"
|
SelectedRoulette.ROULETTE_3 -> "룰렛 3"
|
||||||
}
|
}
|
||||||
|
|
||||||
val successMessage = "$selectedRouletteTitle " +
|
val successMessage = if (availableActive) {
|
||||||
if (isActive || availableActive) "로 설정하였습니다." else "을 설정했습니다."
|
if (isActive) {
|
||||||
|
"${selectedRouletteTitle}로 설정하였습니다."
|
||||||
|
} else {
|
||||||
|
"${selectedRouletteTitle}을 설정했습니다."
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
"${selectedRouletteTitle}을 생성했습니다."
|
||||||
|
}
|
||||||
|
|
||||||
compositeDisposable.add(
|
compositeDisposable.add(
|
||||||
repository.createRoulette(
|
repository.createRoulette(
|
||||||
|
Reference in New Issue
Block a user