Skip to content

Commit

Permalink
remove deprecated member
Browse files Browse the repository at this point in the history
  • Loading branch information
navaronbracke committed Nov 7, 2024
1 parent d328a6c commit cc01485
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
**BREAKING CHANGES:**

* The `updateScanWindow` method is now private. Instead, update the scan window in the `MobileScanner` widget directly.
* The deprecated `EncryptionType.none` constant has been removed. Use `EncryptionType.unknown` instead.

Bugs fixed:
* [Apple] Fixed an issue which caused the scanWindow to always be present, even when reset to no value.
Expand Down
5 changes: 0 additions & 5 deletions lib/src/enums/encryption_type.dart
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@ enum EncryptionType {

const EncryptionType(this.rawValue);

@Deprecated(
'EncryptionType.none is deprecated. Use EncryptionType.unknown instead.',
)
static const EncryptionType none = EncryptionType.unknown;

factory EncryptionType.fromRawValue(int value) {
switch (value) {
case 0:
Expand Down

0 comments on commit cc01485

Please sign in to comment.