Move icons to resources/icons.

This commit is contained in:
Dain Nilsson 2023-02-24 12:46:12 +01:00
parent b0d4b9664c
commit 7e4d7b88df
No known key found for this signature in database
GPG Key ID: F04367096FBA95E8
5 changed files with 5 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 16 KiB

View File

@ -89,12 +89,12 @@ Future<OathCode?> _calculateCode(
String _getIcon() {
if (Platform.isMacOS) {
return 'assets/graphics/systray-macos.eps';
return 'resources/icons/systray-template.eps';
}
if (Platform.isWindows) {
return 'assets/graphics/systray.ico';
return 'resources/icons/com.yubico.yubioath.ico';
}
return 'assets/graphics/app-icon.png';
return 'resources/icons/com.yubico.yubioath-32x32.png';
}
class _Systray extends TrayListener {
@ -206,7 +206,7 @@ class _Systray extends TrayListener {
),
MenuItem.separator(),
MenuItem(
label: 'Quit',
label: _l10n.general_quit,
onClick: (_) {
_ref.read(withContextProvider)(
(context) async {

View File

@ -94,6 +94,7 @@ flutter:
- assets/graphics/
- assets/licenses/
- assets/licenses/raw/
- resources/icons/
# An image asset can refer to one or more resolution-specific "variants", see
# https://flutter.dev/assets-and-images/#resolution-aware

Binary file not shown.

After

Width:  |  Height:  |  Size: 979 B