mirror of
https://github.com/we-promise/sure.git
synced 2026-04-07 14:31:25 +00:00
Default tap on URL opens settings
This commit is contained in:
@@ -441,34 +441,38 @@ class _LoginScreenState extends State<LoginScreen> {
|
|||||||
const SizedBox(height: 24),
|
const SizedBox(height: 24),
|
||||||
|
|
||||||
// Backend URL info
|
// Backend URL info
|
||||||
Container(
|
InkWell(
|
||||||
padding: const EdgeInsets.all(12),
|
onTap: widget.onGoToSettings,
|
||||||
decoration: BoxDecoration(
|
borderRadius: BorderRadius.circular(8),
|
||||||
color: colorScheme.surfaceContainerHighest
|
child: Container(
|
||||||
.withValues(alpha: 0.3),
|
padding: const EdgeInsets.all(12),
|
||||||
borderRadius: BorderRadius.circular(8),
|
decoration: BoxDecoration(
|
||||||
),
|
color: colorScheme.surfaceContainerHighest
|
||||||
child: Column(
|
.withValues(alpha: 0.3),
|
||||||
children: [
|
borderRadius: BorderRadius.circular(8),
|
||||||
Text(
|
),
|
||||||
'Sure server URL:',
|
child: Column(
|
||||||
style:
|
children: [
|
||||||
Theme.of(context).textTheme.bodySmall?.copyWith(
|
Text(
|
||||||
color: colorScheme.onSurfaceVariant,
|
'Sure server URL:',
|
||||||
fontWeight: FontWeight.bold,
|
style:
|
||||||
),
|
Theme.of(context).textTheme.bodySmall?.copyWith(
|
||||||
),
|
color: colorScheme.onSurfaceVariant,
|
||||||
const SizedBox(height: 4),
|
fontWeight: FontWeight.bold,
|
||||||
Text(
|
),
|
||||||
ApiConfig.baseUrl,
|
),
|
||||||
style:
|
const SizedBox(height: 4),
|
||||||
Theme.of(context).textTheme.bodySmall?.copyWith(
|
Text(
|
||||||
color: colorScheme.primary,
|
ApiConfig.baseUrl,
|
||||||
fontFamily: 'monospace',
|
style:
|
||||||
),
|
Theme.of(context).textTheme.bodySmall?.copyWith(
|
||||||
textAlign: TextAlign.center,
|
color: colorScheme.primary,
|
||||||
),
|
fontFamily: 'monospace',
|
||||||
],
|
),
|
||||||
|
textAlign: TextAlign.center,
|
||||||
|
),
|
||||||
|
],
|
||||||
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user