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

Fix write access error #4

Merged
merged 2 commits into from
Apr 20, 2021
Merged

Fix write access error #4

merged 2 commits into from
Apr 20, 2021

Conversation

fabienli
Copy link
Contributor

fix to enable writing to storage for recent Android version

Copy link
Owner

@zorgluf zorgluf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for your contribution ! Could you amend your commit to isolate the manifest.xml changes ?

@@ -431,7 +431,7 @@ public String getDefaultStyle() {

public PageViewModel getNextPage(PageViewModel pageVM) {
int pos = getPosition(pageVM);
if (pos < getPages().getValue().size()-1) {
if (getPages().getValue() == null || pos < getPages().getValue().size()-1) {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since it's not related to the issue, could you exclude this change to the commit ? Anyway, did you experience crash in this part of code ? Value shouldn't be null at this point.

@fabienli
Copy link
Contributor Author

sure, here is the new commit

@zorgluf zorgluf merged commit cd152ab into zorgluf:main Apr 20, 2021
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.

2 participants