cryptomator / cryptomator/android

Text editor closes if there's no network connection and claims "successfully saved"

Open
#555 3 comments 1 reaction 0 assignees View on GitHub
type:bug
Dominant language
Kotlin
Stars
1.2k
Forks
216
PR merge metrics
No merged PRs in 30d

Description

### Please agree to the following

- [X] I have searched [existing issues](https://github.com/cryptomator/android/issues?q=) for duplicates
- [X] I agree to follow this project's [Code of Conduct](https://github.com/cryptomator/android/blob/develop/.github/CODE_OF_CONDUCT.md)

### Summary

Text editor closes if there's no network connection and claims "successfully saved"

### System Setup

```markdown
- Android: 14
- Cryptomator: 1.10.3
```

### Cloud Type

S3

### Steps to Reproduce

1. Edit an already existing text file.
2. Kill your internet connection, then hit save.
3. Once back in the file list, reestablish connection and open the file again.

### Expected Behavior

Text editor shouldn't close on saving if it can't save. (For any possible reason.)
Instead, it should just show the toast with that reason.

### Actual Behavior

It closes and a toast "successfully saved" pops up.

### Reproducibility

Always

### Relevant Log Output

_No response_

### Anything else?

https://github.com/user-attachments/assets/f2618900-d0df-4a88-95f4-e66eda1c6132

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.