Skip to content

Commit

Permalink
feat: Make version text selectable (#563)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomBursch authored Dec 2, 2024
1 parent 4d65094 commit c279486
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kitchenowl/lib/pages/settings_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -529,7 +529,7 @@ class _SettingsPageState extends State<SettingsPage> {
onTap: () => showLicensePage(
context: context,
applicationVersion: Config.packageInfoSync?.version,
applicationLegalese: '\u{a9} 2023 KitchenOwl',
applicationLegalese: '\u{a9} 2024 KitchenOwl',
),
),
Center(
Expand All @@ -547,7 +547,7 @@ class _SettingsPageState extends State<SettingsPage> {
),
Padding(
padding: const EdgeInsets.fromLTRB(8, 8, 8, 4),
child: Text(
child: SelectableText(
"v${Config.packageInfoSync?.version} (${Config.packageInfoSync?.buildNumber})${App.serverInfo is ConnectedServerInfoState ? " | Server v${(App.serverInfo as ConnectedServerInfoState).version}" : ""}",
style: Theme.of(context).textTheme.labelSmall?.copyWith(
color: Theme.of(context)
Expand All @@ -560,7 +560,7 @@ class _SettingsPageState extends State<SettingsPage> {
),
),
Text(
'\u{a9} 2023 KitchenOwl',
'\u{a9} 2024 KitchenOwl',
style: Theme.of(context).textTheme.labelSmall?.copyWith(
color: Theme.of(context)
.textTheme
Expand Down

0 comments on commit c279486

Please sign in to comment.