mirror of
https://github.com/Xevion/paperless-mobile.git
synced 2025-12-07 05:15:50 -06:00
Fixed di issue
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user