Skip to content

Commit d80f828

Browse files
committed
Thanks for your good design!
1 parent 9e8cf70 commit d80f828

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Flat/Models/Flat/RoomPlayInfo.swift

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@ import Foundation
1010
import RxSwift
1111

1212
struct RoomPlayInfo: Codable {
13-
struct BillingInfo: Codable {
14-
// Time limit.
15-
let limit: Int
16-
}
17-
let billing: BillingInfo
13+
// struct BillingInfo: Codable {
14+
// // Time limit.
15+
// let limit: Int
16+
// }
17+
// let billing: BillingInfo
1818
let roomType: ClassRoomType
1919
let roomUUID: String
2020
let ownerUUID: String

Flat/Modules/ClassRoom/ClassroomFactory.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ enum ClassroomFactory {
154154
commandChannelRequest: rtmChannel,
155155
alertProvider: alertProvider,
156156
preferredDeviceState: deviceStatus,
157-
roomTimeLimit: playInfo.billing.limit)
157+
roomTimeLimit: 0)
158158

159159
let userListViewController = ClassRoomUsersViewController(userUUID: playInfo.rtmUID, roomOwnerRtmUUID: playInfo.ownerUUID)
160160
let shareViewController: () -> UIViewController = {

0 commit comments

Comments
 (0)