Skip to content

Commit

Permalink
TW-1696: Change about dialog icon
Browse files Browse the repository at this point in the history
  • Loading branch information
hieutbui committed May 6, 2024
1 parent bb170ee commit 866658b
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 24 deletions.
58 changes: 37 additions & 21 deletions assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 4 additions & 3 deletions lib/utils/platform_infos.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import 'package:fluffychat/widgets/twake_app.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:flutter_gen/gen_l10n/l10n.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:go_router/go_router.dart';
import 'package:matrix/matrix.dart';
import 'package:package_info_plus/package_info_plus.dart';
Expand Down Expand Up @@ -89,11 +90,11 @@ abstract class PlatformInfos {
child: const Text('Logs'),
),
],
applicationIcon: Image.asset(
'assets/logo.png',
applicationIcon: SvgPicture.asset(
'assets/logo.svg',
width: 64,
height: 64,
filterQuality: FilterQuality.medium,
fit: BoxFit.fill,
),
applicationName: AppConfig.applicationName,
);
Expand Down

0 comments on commit 866658b

Please sign in to comment.