Skip to content
This repository was archived by the owner on Jul 10, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions lib/app/app_widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -39,17 +39,11 @@ class _AppWidgetState extends State<AppWidget> {
void initState() {
super.initState();
_controller = SecureApplicationController(SecureApplicationState());
_controller.secure();
// _controller.secure();
}

Future<bool> _authenticate() async {
final auth = LocalAuthentication();

return await auth.authenticate(
localizedReason: 'Please authenticate to use Credible',
useErrorDialogs: true,
stickyAuth: true,
);
return true;
}

Future<void> _unlockOnLoad() async {
Expand Down
2 changes: 1 addition & 1 deletion lib/app/shared/constants.dart
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
class Constants {
static final String defaultDIDMethod = 'tz';
static final String defaultDIDMethod = 'key';
static final String databaseFilename = 'wallet.db';
}