make enums fall back to unknown or null where possible
Futureproofing.
This commit is contained in:
parent
401b527714
commit
53d9c2b1e6
1 changed files with 28 additions and 6 deletions
|
|
@ -663,6 +663,7 @@ class RoomSettingsSectionsController(final String roomId)
|
|||
.invited => "After invite",
|
||||
.joined => "After join",
|
||||
.worldReadable => "Anyone",
|
||||
.unknown => "Unknown",
|
||||
},
|
||||
onChanged: canSetHistoryVisibility
|
||||
? (visibility) => setState(
|
||||
|
|
|
|||
Loading…
Reference in a new issue