Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Make version text selectable #563

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading