Fixed di issue

This commit is contained in:
Anton Stubenbord
2022-12-14 18:09:53 +01:00
parent 027c2ff219
commit 44d18ed625
2 changed files with 1 additions and 3 deletions

View File

@@ -45,8 +45,6 @@ class DocumentDetailsPage extends StatefulWidget {
}
class _DocumentDetailsPageState extends State<DocumentDetailsPage> {
bool _isDownloadPending = false;
@override
Widget build(BuildContext context) {
return WillPopScope(

View File

@@ -28,7 +28,7 @@ class AuthenticationCubit extends Cubit<AuthenticationState> {
}) async {
assert(credentials.username != null && credentials.password != null);
try {
registerSecurityContext(clientCertificate);
await registerSecurityContext(clientCertificate);
//TODO: Workaround for new architecture, listen for security context changes in timeout_client, possibly persisted in hive.
_authApi = getIt<PaperlessAuthenticationApi>();
// Store information required to make requests