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
Binary file added assets/images/querya_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 10 additions & 4 deletions lib/features/help/about_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,16 @@ class _AboutDialogContentState extends material.State<_AboutDialogContent> {
padding: const material.EdgeInsets.fromLTRB(24, 28, 24, 8),
child: material.Column(
children: [
material.Icon(
QueryaIcons.database,
size: 48,
color: wb.accent,
material.Image.asset(
'assets/images/querya_logo.png',
width: 56,
height: 56,
filterQuality: material.FilterQuality.medium,
errorBuilder: (_, __, ___) => material.Icon(
QueryaIcons.database,
size: 48,
color: wb.accent,
),
),
const material.SizedBox(height: 16),
const Text('Querya').large().semiBold(),
Expand Down
14 changes: 10 additions & 4 deletions lib/features/settings/preferences_about_section.dart
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,16 @@ class PreferencesAboutSection extends StatelessWidget {
),
),
child: material.Center(
child: material.Icon(
QueryaIcons.database,
size: 24,
color: theme.colorScheme.primary,
child: material.Image.asset(
'assets/images/querya_logo.png',
width: 28,
height: 28,
filterQuality: material.FilterQuality.medium,
errorBuilder: (_, __, ___) => material.Icon(
QueryaIcons.database,
size: 24,
color: theme.colorScheme.primary,
),
),
),
),
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified packaging/linux/aur/querya_desktop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified packaging/linux/flatpak/com.queryahub.querya_desktop.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 10 additions & 2 deletions test/features/help/about_dialog_test.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import 'package:flutter/material.dart' as material;
import 'package:flutter_test/flutter_test.dart';
import 'package:querya_desktop/core/ui/querya_icons.dart';
import 'package:querya_desktop/features/help/about_dialog.dart';

import '../../support/querya_theme_test_shell.dart';
Expand All @@ -23,7 +22,16 @@ void main() {
await tester.pumpAndSettle();

expect(find.text('Querya'), findsOneWidget);
expect(find.byIcon(QueryaIcons.database), findsOneWidget);
expect(
find.byWidgetPredicate(
(w) =>
w is material.Image &&
w.image is material.AssetImage &&
(w.image as material.AssetImage).assetName ==
'assets/images/querya_logo.png',
),
findsOneWidget,
);
expect(find.textContaining('Version'), findsOneWidget);
expect(find.text('Licensed under the MIT License.'), findsOneWidget);
expect(find.text('View repository'), findsOneWidget);
Expand Down
Binary file modified windows/runner/resources/app_icon.ico
Binary file not shown.
Loading