Committed by
GitHub
Make setter for LocalTrackPublication.muted public (#447)
* Make setter for LocalTrackPublication.muted public * spotless
正在显示
1 个修改的文件
包含
2 行增加
和
2 行删除
| 1 | /* | 1 | /* |
| 2 | - * Copyright 2023 LiveKit, Inc. | 2 | + * Copyright 2023-2024 LiveKit, Inc. |
| 3 | * | 3 | * |
| 4 | * Licensed under the Apache License, Version 2.0 (the "License"); | 4 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | * you may not use this file except in compliance with the License. | 5 | * you may not use this file except in compliance with the License. |
| @@ -33,7 +33,7 @@ class LocalTrackPublication( | @@ -33,7 +33,7 @@ class LocalTrackPublication( | ||
| 33 | */ | 33 | */ |
| 34 | override var muted: Boolean | 34 | override var muted: Boolean |
| 35 | get() = super.muted | 35 | get() = super.muted |
| 36 | - set(muted) { | 36 | + public set(muted) { |
| 37 | if (muted == this.muted) { | 37 | if (muted == this.muted) { |
| 38 | return | 38 | return |
| 39 | } | 39 | } |
-
请 注册 或 登录 后发表评论