|
@@ -61,7 +61,7 @@ class GiftPagerAdapter(private val type: Int, layoutResId: Int, data: List<Array
|
|
}
|
|
}
|
|
selected = position
|
|
selected = position
|
|
SwagoRoomManager.iRoomInfo?.let {
|
|
SwagoRoomManager.iRoomInfo?.let {
|
|
- if (it.getRoomType() == 1){
|
|
|
|
|
|
+ if (it.getRoomType() == 1 || it.getRoomType() == 3){
|
|
GiftConfig.giftCoin = item[position].gift_coins.toInt()
|
|
GiftConfig.giftCoin = item[position].gift_coins.toInt()
|
|
GiftConfig.giftSelectedWhichType = type
|
|
GiftConfig.giftSelectedWhichType = type
|
|
GiftConfig.giftSelectedPageSelectedPosition = position
|
|
GiftConfig.giftSelectedPageSelectedPosition = position
|