Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display limits of email recovery #3281

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

florentos17
Copy link
Collaborator

tackling the issue 3219 (duplicated with the issue 3274)

@florentos17 florentos17 force-pushed the Display-Limits-of-Email-Recovery branch from a4dab10 to 57777f7 Compare November 18, 2024 11:04
@florentos17
Copy link
Collaborator Author

florentos17 commented Nov 18, 2024

This curious thing is happening: when accessing the recover deleted messages panel, at first an error is thrown, but when i trigger a hot reload, then everything is fine:

IMG_0450.mov

the method is this:

String getRestorationHorizon(BuildContext context) {
    return ((_session
        ?.props[0] as Map<CapabilityIdentifier, CapabilityProperties>?)
        ?[capabilityDeletedMessagesVault]
        ?.props[0] as Map<String, dynamic>) // line causing the error
        ['restorationHorizon'];
  }

and the error is Type 'Null' is not a subtype of type 'Map<String, dynamic>' in type cast

Copy link

This PR has been deployed to https://linagora.github.io/tmail-flutter/3281.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant