Skip to content
Merged
Show file tree
Hide file tree
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
10 changes: 5 additions & 5 deletions lib/features/settings/preferences_about_section.dart
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ class PreferencesAboutSection extends StatelessWidget {
runSpacing: 8,
children: [
QueryaButton.secondary(
label: 'Open App Data Folder',
label: 'Open app data folder',
icon: material.Icons.folder_outlined,
onPressed: () async {
final dir = await AppDataRoot.applicationSupportDirectory();
Expand All @@ -142,7 +142,7 @@ class PreferencesAboutSection extends StatelessWidget {
size: QueryaControlSize.md,
),
QueryaButton.secondary(
label: 'Open Themes Folder',
label: 'Open themes folder',
icon: material.Icons.palette_outlined,
onPressed: () async {
final dir = await ThemePaths.ensureUserThemesDirectory();
Expand All @@ -151,7 +151,7 @@ class PreferencesAboutSection extends StatelessWidget {
size: QueryaControlSize.md,
),
QueryaButton.secondary(
label: 'Open Extensions Folder',
label: 'Open extensions folder',
icon: material.Icons.extension_outlined,
onPressed: () async {
final dir = await ExtensionPaths.ensureExtensionsDirectory();
Expand All @@ -171,7 +171,7 @@ class PreferencesAboutSection extends StatelessWidget {
runSpacing: 8,
children: [
QueryaButton.secondary(
label: 'GitHub Repository',
label: 'GitHub repository',
icon: material.Icons.code_rounded,
onPressed: () => launchUrlString(
githubRepoUrl,
Expand All @@ -180,7 +180,7 @@ class PreferencesAboutSection extends StatelessWidget {
size: QueryaControlSize.md,
),
QueryaButton.secondary(
label: 'Report an Issue',
label: 'Report an issue',
icon: material.Icons.bug_report_outlined,
onPressed: () => launchUrlString(
'$githubRepoUrl/issues',
Expand Down
2 changes: 1 addition & 1 deletion lib/features/settings/preferences_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -428,7 +428,7 @@ class PreferencesDialogContentState
'Changes apply immediately and persist locally.',
),
),
QueryaButton.primary(
QueryaButton.secondary(
label: 'Close',
onPressed: () => material.Navigator.of(context).pop(),
size: QueryaControlSize.lg,
Expand Down
2 changes: 2 additions & 0 deletions lib/features/settings/preferences_extensions_section.dart
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,13 @@ class PreferencesExtensionsSectionState
children: [
QueryaButton.secondary(
label: _installing ? 'Installing…' : 'Install from file…',
icon: material.Icons.upload_file_outlined,
onPressed: busy ? null : () => unawaited(_installFromFile()),
size: QueryaControlSize.md,
),
QueryaButton.secondary(
label: _openingFolder ? 'Opening…' : 'Open extensions folder',
icon: material.Icons.folder_open_outlined,
onPressed: busy ? null : () => unawaited(_openExtensionsFolder()),
size: QueryaControlSize.md,
),
Expand Down
Loading