design: Use outlined icons

This commit is contained in:
Christian Pauly 2020-12-06 10:31:35 +01:00
commit 67614205c9
27 changed files with 112 additions and 101 deletions

View file

@ -64,7 +64,7 @@ class ContentBanner extends StatelessWidget {
child: FloatingActionButton(
mini: true,
backgroundColor: Theme.of(context).primaryColor,
child: Icon(Icons.camera_alt),
child: Icon(Icons.camera_alt_outlined),
onPressed: onEdit,
),
),

View file

@ -236,7 +236,7 @@ class _KeyVerificationPageState extends State<KeyVerificationDialog> {
case KeyVerificationState.done:
body = Column(
children: <Widget>[
Icon(Icons.check_circle, color: Colors.green, size: 200.0),
Icon(Icons.check_circle_outlined, color: Colors.green, size: 200.0),
SizedBox(height: 10),
Text(
L10n.of(context).verifySuccess,

View file

@ -90,7 +90,7 @@ class _RecordingDialogState extends State<RecordingDialog> {
children: <Widget>[
Text(L10n.of(context).send.toUpperCase()),
SizedBox(width: 4),
Icon(Icons.send, size: 15),
Icon(Icons.send_outlined, size: 15),
],
),
onPressed: () async {

View file

@ -94,8 +94,12 @@ class _EncryptionButtonState extends State<EncryptionButton> {
color = null;
}
return IconButton(
icon: Icon(widget.room.encrypted ? Icons.lock : Icons.lock_open,
size: 20, color: color),
icon: Icon(
widget.room.encrypted
? Icons.lock_outlined
: Icons.lock_open_outlined,
size: 20,
color: color),
onPressed: _enableEncryptionAction,
);
});

View file

@ -197,7 +197,7 @@ class ChatListItem extends StatelessWidget {
},
if (typingText.isNotEmpty) ...{
Icon(
Icons.edit,
Icons.edit_outlined,
color: Theme.of(context).primaryColor,
size: 14,
),

View file

@ -261,7 +261,7 @@ class _MetaRow extends StatelessWidget {
Padding(
padding: const EdgeInsets.only(left: 2.0),
child: Icon(
Icons.edit,
Icons.edit_outlined,
size: 12,
color: color,
),

View file

@ -191,13 +191,13 @@ class MatrixState extends State<Matrix> {
Spacer(),
FloatingActionButton(
backgroundColor: Colors.red,
child: Icon(Icons.phone_missed),
child: Icon(Icons.phone_missed_outlined),
onPressed: () => Navigator.of(context).pop(),
),
Spacer(),
FloatingActionButton(
backgroundColor: Colors.green,
child: Icon(Icons.phone),
child: Icon(Icons.phone_outlined),
onPressed: () {
Navigator.of(context).pop();
launch(event.body);

View file

@ -146,7 +146,7 @@ class MessageContent extends StatelessWidget {
child: Row(
mainAxisSize: MainAxisSize.min,
children: <Widget>[
Icon(Icons.phone),
Icon(Icons.phone_outlined),
SizedBox(width: 8),
Text(L10n.of(context).videoCall),
],

View file

@ -105,7 +105,7 @@ class UserBottomSheet extends StatelessWidget {
PopupMenuItem(
child: _TextWithIcon(
L10n.of(context).sendAMessage,
Icons.send,
Icons.send_outlined,
),
value: 'message'),
);
@ -171,7 +171,7 @@ class UserBottomSheet extends StatelessWidget {
if (verificationStatus != null)
IconButton(
icon: Icon(
Icons.lock,
Icons.lock_outlined,
color: {
UserVerifiedStatus.unknownDevice: Colors.red,
UserVerifiedStatus.verified: Colors.green,
@ -202,7 +202,7 @@ class UserBottomSheet extends StatelessWidget {
ListTile(
title: Text(L10n.of(context).username),
subtitle: Text(user.id),
trailing: Icon(Icons.share),
trailing: Icon(Icons.share_outlined),
onTap: () => FluffyShare.share(user.id, context),
),
if (presence != null)