mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-11-22 08:22:16 +03:00
Remove unused graphics.
This commit is contained in:
parent
605a5fb27d
commit
62e73a246e
Binary file not shown.
Before Width: | Height: | Size: 3.6 KiB |
Binary file not shown.
Before Width: | Height: | Size: 3.8 KiB |
Binary file not shown.
Before Width: | Height: | Size: 4.7 KiB |
Binary file not shown.
Before Width: | Height: | Size: 4.1 KiB |
Binary file not shown.
Before Width: | Height: | Size: 3.0 KiB |
@ -1,24 +0,0 @@
|
||||
/*
|
||||
* Copyright (C) 2022 Yubico.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
final Image noAccounts = _graphic('no-accounts');
|
||||
final Image noFingerprints = _graphic('no-fingerprints');
|
||||
final Image noPermission = _graphic('no-permission');
|
||||
final Image manageAccounts = _graphic('manage-accounts');
|
||||
|
||||
Image _graphic(String name) => Image.asset('assets/graphics/$name.png');
|
@ -69,11 +69,8 @@ class MainPage extends ConsumerWidget {
|
||||
});
|
||||
|
||||
final deviceNode = ref.watch(currentDeviceProvider);
|
||||
final isDarkTheme = Theme.of(context).brightness == Brightness.dark;
|
||||
final noKeyImage = Image.asset(
|
||||
isDarkTheme
|
||||
? 'assets/graphics/no-key_dark.png'
|
||||
: 'assets/graphics/no-key.png',
|
||||
'assets/graphics/no-key.png',
|
||||
filterQuality: FilterQuality.medium,
|
||||
scale: 2,
|
||||
color: Theme.of(context).colorScheme.primary,
|
||||
|
Loading…
Reference in New Issue
Block a user