Skip to content

Commit 24fd06a

Browse files
Update settings view
1 parent 5e0ec5e commit 24fd06a

1 file changed

Lines changed: 71 additions & 3 deletions

File tree

lib/ui/views/settings/settings_view.dart

Lines changed: 71 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,73 @@ class SettingsView extends StackedView<SettingsViewModel> {
288288
height: 0,
289289
color: context.theme.appColors.divider,
290290
),
291+
292+
InkWell(
293+
onTap: viewModel.shareFeedback,
294+
child: Padding(
295+
padding: const EdgeInsets.symmetric(horizontal: 8.0, vertical: 16.0),
296+
child: Row(
297+
children: [
298+
Padding(
299+
padding: const EdgeInsets.symmetric(horizontal: 5.0),
300+
child: PhosphorIcon(
301+
PhosphorIcons.envelopeOpen(PhosphorIconsStyle.regular),
302+
color: context.theme.appColors.primary,
303+
),
304+
),
305+
const SizedBox(width: 8.0),
306+
Column(
307+
crossAxisAlignment: CrossAxisAlignment.start,
308+
children: [
309+
Text(
310+
'Share feedback with the developer',
311+
style: TextStyle(
312+
color: context.theme.appColors.primary,
313+
fontSize: 15.0,
314+
fontWeight: FontWeight.w500,
315+
letterSpacing: -0.1,
316+
),
317+
),
318+
],
319+
),
320+
],
321+
),
322+
),
323+
),
324+
325+
InkWell(
326+
onTap: viewModel.visitWebsite,
327+
child: Padding(
328+
padding: const EdgeInsets.symmetric(horizontal: 8.0, vertical: 16.0),
329+
child: Row(
330+
children: [
331+
Padding(
332+
padding: const EdgeInsets.symmetric(horizontal: 5.0),
333+
child: PhosphorIcon(
334+
PhosphorIcons.globe(PhosphorIconsStyle.regular),
335+
color: context.theme.appColors.primary,
336+
),
337+
),
338+
const SizedBox(width: 8.0),
339+
Column(
340+
crossAxisAlignment: CrossAxisAlignment.start,
341+
children: [
342+
Text(
343+
'Visit app website',
344+
style: TextStyle(
345+
color: context.theme.appColors.primary,
346+
fontSize: 15.0,
347+
fontWeight: FontWeight.w500,
348+
letterSpacing: -0.1,
349+
),
350+
),
351+
],
352+
),
353+
],
354+
),
355+
),
356+
),
357+
291358
// App version
292359
Padding(
293360
padding: const EdgeInsets.symmetric(horizontal: 8.0, vertical: 16.0),
@@ -303,10 +370,10 @@ class SettingsView extends StackedView<SettingsViewModel> {
303370
crossAxisAlignment: CrossAxisAlignment.start,
304371
children: [
305372
Text(
306-
'Bibleside',
373+
'Bibleside (alpha)',
307374
style: TextStyle(
308375
color: context.theme.appColors.primary,
309-
fontSize: 16.0,
376+
fontSize: 15.0,
310377
fontWeight: FontWeight.w500,
311378
letterSpacing: -0.1,
312379
),
@@ -315,8 +382,9 @@ class SettingsView extends StackedView<SettingsViewModel> {
315382
viewModel.isBusy ? '' : viewModel.data!,
316383
style: TextStyle(
317384
color: context.theme.appColors.secondary,
385+
height: 1.0,
318386
fontSize: 10.0,
319-
letterSpacing: 0.0,
387+
letterSpacing: 0.1,
320388
),
321389
),
322390
],

0 commit comments

Comments
 (0)