mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2025-07-23 06:31:13 -04:00
ui cleanup
This commit is contained in:
parent
e4358586aa
commit
23867a1784
17 changed files with 135 additions and 90 deletions
|
@ -33,7 +33,7 @@ class _HomeAccountReadyState extends State<HomeAccountReady> {
|
|||
color: scaleConfig.preferBorders
|
||||
? scale.primaryScale.border
|
||||
: scale.primaryScale.borderText,
|
||||
constraints: const BoxConstraints.expand(height: 48, width: 48),
|
||||
constraints: const BoxConstraints.expand(height: 40, width: 40),
|
||||
style: ButtonStyle(
|
||||
backgroundColor: WidgetStateProperty.all(
|
||||
scaleConfig.preferBorders
|
||||
|
@ -50,7 +50,7 @@ class _HomeAccountReadyState extends State<HomeAccountReady> {
|
|||
: scale.primaryScale.borderText,
|
||||
width: 2),
|
||||
borderRadius: BorderRadius.all(
|
||||
Radius.circular(12 * scaleConfig.borderRadiusScale))),
|
||||
Radius.circular(8 * scaleConfig.borderRadiusScale))),
|
||||
)),
|
||||
tooltip: translate('menu.accounts_menu_tooltip'),
|
||||
onPressed: () async {
|
||||
|
@ -68,7 +68,7 @@ class _HomeAccountReadyState extends State<HomeAccountReady> {
|
|||
color: scaleConfig.preferBorders
|
||||
? scale.primaryScale.border
|
||||
: scale.primaryScale.borderText,
|
||||
constraints: const BoxConstraints.expand(height: 48, width: 48),
|
||||
constraints: const BoxConstraints.expand(height: 40, width: 40),
|
||||
style: ButtonStyle(
|
||||
backgroundColor: WidgetStateProperty.all(
|
||||
scaleConfig.preferBorders
|
||||
|
@ -85,7 +85,7 @@ class _HomeAccountReadyState extends State<HomeAccountReady> {
|
|||
: scale.primaryScale.borderText,
|
||||
width: 2),
|
||||
borderRadius: BorderRadius.all(
|
||||
Radius.circular(12 * scaleConfig.borderRadiusScale))),
|
||||
Radius.circular(8 * scaleConfig.borderRadiusScale))),
|
||||
)),
|
||||
tooltip: translate('menu.contacts_tooltip'),
|
||||
onPressed: () async {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue