mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-22 00:12:09 +03:00
Move icons to resources/icons.
This commit is contained in:
parent
b0d4b9664c
commit
7e4d7b88df
Binary file not shown.
Before Width: | Height: | Size: 16 KiB |
@ -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 {
|
||||
|
@ -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
|
||||
|
BIN
resources/icons/com.yubico.yubioath-32x32.png
Executable file
BIN
resources/icons/com.yubico.yubioath-32x32.png
Executable file
Binary file not shown.
After Width: | Height: | Size: 979 B |
Loading…
Reference in New Issue
Block a user