Enhanced E2EE UX
This commit is contained in:
parent
c22b792fa0
commit
6c345133ea
2 changed files with 46 additions and 18 deletions
|
|
@ -129,7 +129,11 @@ class Message extends StatelessWidget {
|
|||
event.messageType == MessageTypes.BadEncrypted &&
|
||||
event.content["body"] == DecryptError.UNKNOWN_SESSION)
|
||||
RaisedButton(
|
||||
child: Text(I18n.of(context).requestPermission),
|
||||
color: color.withAlpha(100),
|
||||
child: Text(
|
||||
I18n.of(context).requestPermission,
|
||||
style: TextStyle(color: textColor),
|
||||
),
|
||||
onPressed: () => Matrix.of(context)
|
||||
.tryRequestWithLoadingDialog(event.requestKey()),
|
||||
),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue