mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2025-03-18 04:08:44 +03:00
Add element call widget type.
This commit is contained in:
parent
61f05e78a3
commit
b3a8052a51
1 changed files with 2 additions and 1 deletions
|
@ -33,7 +33,8 @@ enum class WidgetStatus {
|
|||
enum class WidgetKind(@StringRes val nameRes: Int, val screenId: String?) {
|
||||
ROOM(R.string.room_widget_activity_title, null),
|
||||
STICKER_PICKER(R.string.title_activity_choose_sticker, WidgetType.StickerPicker.preferred),
|
||||
INTEGRATION_MANAGER(0, null);
|
||||
INTEGRATION_MANAGER(0, null),
|
||||
ELEMENT_CALL(0, null);
|
||||
|
||||
fun isAdmin(): Boolean {
|
||||
return this == STICKER_PICKER || this == INTEGRATION_MANAGER
|
||||
|
|
Loading…
Add table
Reference in a new issue