feat: Add some tooltipps

This commit is contained in:
Christian Pauly 2021-02-13 13:27:44 +01:00
commit 5d794a277b
6 changed files with 47 additions and 0 deletions

View file

@ -95,6 +95,9 @@ class _EncryptionButtonState extends State<EncryptionButton> {
color = null;
}
return IconButton(
tooltip: widget.room.encrypted
? L10n.of(context).encrypted
: L10n.of(context).encryptionNotEnabled,
icon: Icon(
widget.room.encrypted
? Icons.lock_outlined