Mobile. Share Screen. Remove hardcoded colors from connection card
This commit is contained in:
parent
45d19a62f9
commit
583b5bf4ea
@ -369,10 +369,7 @@ class ConnectionManager extends StatelessWidget {
|
|||||||
bar.onTap!(1);
|
bar.onTap!(1);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
icon: const Icon(
|
icon: const Icon(Icons.chat)))
|
||||||
Icons.chat,
|
|
||||||
color: MyTheme.accent,
|
|
||||||
)))
|
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
client.authorized
|
client.authorized
|
||||||
@ -429,7 +426,7 @@ class PaddingCard extends StatelessWidget {
|
|||||||
children.insert(
|
children.insert(
|
||||||
0,
|
0,
|
||||||
Padding(
|
Padding(
|
||||||
padding: const EdgeInsets.symmetric(vertical: 5.0),
|
padding: const EdgeInsets.fromLTRB(0, 5, 0, 8),
|
||||||
child: Row(
|
child: Row(
|
||||||
children: [
|
children: [
|
||||||
titleIcon != null
|
titleIcon != null
|
||||||
@ -441,11 +438,7 @@ class PaddingCard extends StatelessWidget {
|
|||||||
child: Text(
|
child: Text(
|
||||||
title!,
|
title!,
|
||||||
style: const TextStyle(
|
style: const TextStyle(
|
||||||
fontFamily: 'WorkSans',
|
fontSize: 18, fontWeight: FontWeight.bold),
|
||||||
fontWeight: FontWeight.bold,
|
|
||||||
fontSize: 20,
|
|
||||||
color: MyTheme.accent,
|
|
||||||
),
|
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
@ -494,13 +487,9 @@ class ClientInfo extends StatelessWidget {
|
|||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
Text(client.name,
|
Text(client.name, style: const TextStyle(fontSize: 18)),
|
||||||
style: const TextStyle(
|
|
||||||
color: MyTheme.idColor, fontSize: 18)),
|
|
||||||
const SizedBox(width: 8),
|
const SizedBox(width: 8),
|
||||||
Text(client.peerId,
|
Text(client.peerId, style: const TextStyle(fontSize: 10))
|
||||||
style: const TextStyle(
|
|
||||||
color: MyTheme.idColor, fontSize: 10))
|
|
||||||
]))
|
]))
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user