Skip to content

Commit

Permalink
Merge PR #1052.
Browse files Browse the repository at this point in the history
  • Loading branch information
AdamVe committed Apr 24, 2023
2 parents ec85a72 + 13d0ccc commit f5100e1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion lib/oath/icon_provider/icon_pack_manager.dart
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import 'package:logging/logging.dart';
import 'package:path/path.dart';
import 'package:path_provider/path_provider.dart';
import 'package:yubico_authenticator/app/logging.dart';
import 'package:io/io.dart';

import 'icon_cache.dart';
import 'icon_pack.dart';
Expand Down Expand Up @@ -166,7 +167,7 @@ class IconPackManager extends StateNotifier<AsyncValue<IconPack?>> {
_iconCache.memCache.clear();

// moves unpacked files to the directory final directory
await unpackDirectory.rename(packDirectory.path);
await copyPath(unpackDirectory.path, packDirectory.path);

readPack();

Expand Down
2 changes: 1 addition & 1 deletion pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -357,7 +357,7 @@ packages:
source: hosted
version: "0.17.0"
io:
dependency: transitive
dependency: "direct main"
description:
name: io
sha256: "2ec25704aba361659e10e3e5f5d672068d332fc8ac516421d483a11e5cbd061e"
Expand Down
1 change: 1 addition & 0 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ dependencies:
crypto: ^3.0.2
tray_manager: ^0.2.0
local_notifier: ^0.1.5
io: ^1.0.4

dev_dependencies:
integration_test:
Expand Down

0 comments on commit f5100e1

Please sign in to comment.