Skip to content

Commit

Permalink
chore: Change update link wording
Browse files Browse the repository at this point in the history
Makes a bit more sense on mobile
  • Loading branch information
qdot committed Mar 16, 2024
1 parent dc36eca commit 2cd734c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/page/settings_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ class SettingPage extends StatelessWidget {
SettingsTile(
title: TextButton(
onPressed: !engineIsRunning ? () => BlocProvider.of<UpdateBloc>(context).add(RunUpdate()) : null,
child: const Text("Check For Updates"))),
child: isDesktop()
? const Text("Check For App and Config Updates")
: const Text("Check for Config Updates"))),
SettingsTile(title: const Text("App Version"), value: Text(cubit.currentAppVersion)),
];
if (isDesktop() && canShowUpdate() && cubit.currentAppVersion != cubit.latestAppVersion) {
Expand Down

0 comments on commit 2cd734c

Please sign in to comment.