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> { class _DocumentDetailsPageState extends State<DocumentDetailsPage> {
bool _isDownloadPending = false;
@override @override
Widget build(BuildContext context) { Widget build(BuildContext context) {
return WillPopScope( return WillPopScope(

View File

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