💄 Optimize some styling
This commit is contained in:
@@ -506,6 +506,7 @@ class _UnauthorizedAccountScreen extends StatelessWidget {
|
|||||||
padding: const EdgeInsets.symmetric(horizontal: 24),
|
padding: const EdgeInsets.symmetric(horizontal: 24),
|
||||||
child: Card(
|
child: Card(
|
||||||
child: InkWell(
|
child: InkWell(
|
||||||
|
borderRadius: const BorderRadius.all(Radius.circular(8)),
|
||||||
onTap: () {
|
onTap: () {
|
||||||
context.pushNamed('createAccount');
|
context.pushNamed('createAccount');
|
||||||
},
|
},
|
||||||
@@ -528,6 +529,7 @@ class _UnauthorizedAccountScreen extends StatelessWidget {
|
|||||||
padding: const EdgeInsets.symmetric(horizontal: 24),
|
padding: const EdgeInsets.symmetric(horizontal: 24),
|
||||||
child: Card(
|
child: Card(
|
||||||
child: InkWell(
|
child: InkWell(
|
||||||
|
borderRadius: const BorderRadius.all(Radius.circular(8)),
|
||||||
onTap: () {
|
onTap: () {
|
||||||
context.pushNamed('login');
|
context.pushNamed('login');
|
||||||
},
|
},
|
||||||
@@ -549,26 +551,35 @@ class _UnauthorizedAccountScreen extends StatelessWidget {
|
|||||||
Row(
|
Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.center,
|
mainAxisAlignment: MainAxisAlignment.center,
|
||||||
children: [
|
children: [
|
||||||
TextButton(
|
IconButton(
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
context.pushNamed('about');
|
context.pushNamed('about');
|
||||||
},
|
},
|
||||||
child: Text('about').tr(),
|
iconSize: 18,
|
||||||
|
color: Theme.of(context).colorScheme.secondary,
|
||||||
|
icon: const Icon(Icons.info, fill: 1),
|
||||||
|
tooltip: 'about'.tr(),
|
||||||
),
|
),
|
||||||
TextButton(
|
IconButton(
|
||||||
child: Text('debugOptions').tr(),
|
icon: const Icon(Icons.bug_report, fill: 1),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
showModalBottomSheet(
|
showModalBottomSheet(
|
||||||
context: context,
|
context: context,
|
||||||
builder: (context) => DebugSheet(),
|
builder: (context) => DebugSheet(),
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
iconSize: 18,
|
||||||
|
color: Theme.of(context).colorScheme.secondary,
|
||||||
|
tooltip: 'debugOptions'.tr(),
|
||||||
),
|
),
|
||||||
TextButton(
|
IconButton(
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
context.pushNamed('settings');
|
context.pushNamed('settings');
|
||||||
},
|
},
|
||||||
child: Text('appSettings').tr(),
|
icon: const Icon(Icons.settings, fill: 1),
|
||||||
|
iconSize: 18,
|
||||||
|
color: Theme.of(context).colorScheme.secondary,
|
||||||
|
tooltip: 'appSettings'.tr(),
|
||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -431,6 +431,9 @@ class _ActivityPresenceWidgetState extends State<ActivityPresenceWidget>
|
|||||||
if (activity.titleUrl != null &&
|
if (activity.titleUrl != null &&
|
||||||
activity.titleUrl!.isNotEmpty)
|
activity.titleUrl!.isNotEmpty)
|
||||||
IconButton(
|
IconButton(
|
||||||
|
visualDensity: const VisualDensity(
|
||||||
|
vertical: -4,
|
||||||
|
),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
launchUrlString(activity.titleUrl!);
|
launchUrlString(activity.titleUrl!);
|
||||||
},
|
},
|
||||||
@@ -583,6 +586,9 @@ class _ActivityPresenceWidgetState extends State<ActivityPresenceWidget>
|
|||||||
if (activity.titleUrl != null &&
|
if (activity.titleUrl != null &&
|
||||||
activity.titleUrl!.isNotEmpty)
|
activity.titleUrl!.isNotEmpty)
|
||||||
IconButton(
|
IconButton(
|
||||||
|
visualDensity: const VisualDensity(
|
||||||
|
vertical: -4,
|
||||||
|
),
|
||||||
onPressed: () {
|
onPressed: () {
|
||||||
launchUrlString(
|
launchUrlString(
|
||||||
activity.titleUrl!,
|
activity.titleUrl!,
|
||||||
@@ -616,6 +622,8 @@ class _ActivityPresenceWidgetState extends State<ActivityPresenceWidget>
|
|||||||
'assets/images/oidc/spotify.png',
|
'assets/images/oidc/spotify.png',
|
||||||
width: 24,
|
width: 24,
|
||||||
height: 24,
|
height: 24,
|
||||||
|
color:
|
||||||
|
Theme.of(context).colorScheme.onSurface,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user