1
0
mirror of https://gitlab.com/comunic/comunicmobile synced 2025-06-19 00:05:16 +00:00

Can update conversation settings

This commit is contained in:
2021-03-13 11:08:08 +01:00
parent fdec22c28a
commit 0b2f939376
3 changed files with 19 additions and 38 deletions

View File

@ -10,7 +10,7 @@ class NewConversationsSettings {
final bool isComplete;
final String name;
final bool canEveryoneAddMembers;
final String color;
final Color color;
const NewConversationsSettings({
@required this.convID,
@ -23,5 +23,5 @@ class NewConversationsSettings {
assert(convID > 0),
assert(following != null),
assert(isComplete != null),
assert(!isComplete && canEveryoneAddMembers != null);
assert(!isComplete || canEveryoneAddMembers != null);
}