Remove redundant code
This commit is contained in:
parent
09ae14a1d6
commit
2386a5a10b
1 changed files with 0 additions and 2 deletions
|
@ -30,9 +30,7 @@ class CodeStore {
|
|||
}
|
||||
|
||||
Future<void> addCode(Code code) async {
|
||||
final codes = await getAllCodes();
|
||||
code.id = await _authenticatorService.addEntry(jsonEncode(code.rawData));
|
||||
codes.add(code);
|
||||
Bus.instance.fire(CodesUpdatedEvent());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue