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

Fixed a few bugs and crashes around media interactions #929

Merged
merged 3 commits into from Oct 17, 2023

Conversation

mpretty-cyro
Copy link
Collaborator

@mpretty-cyro mpretty-cyro commented Oct 12, 2023

  • Fixed a crash when trying to grant permission to access additional photos
  • Fixed a bug where audio files would incorrectly get recognised as voice messages
  • Replaced our custom video/audio players with the native ones (which have additional built-in controls)
  • Updated the errors from SSKKeychainStorage to include useful information
  • Updated layout for audio attachments

Some example screenshots (left is old, right is new)

Screenshot 2023-10-12 at 4 09 30 pm Screenshot 2023-10-12 at 4 08 19 pm Screenshot 2023-10-12 at 4 08 31 pm Screenshot 2023-10-12 at 4 08 38 pm Screenshot 2023-10-12 at 4 10 44 pm

Fixed a crash when trying to grant permission to access additional photos
Fixed a bug where audio files would incorrectly get recognised as voice messages
Replaced our custom video/audio players with the native ones (which have additional built-in controls)
Updated the errors from SSKKeychainStorage to include useful information
Updated layout for audio attachments
@mpretty-cyro mpretty-cyro added the bug Something isn't working label Oct 12, 2023
@mpretty-cyro mpretty-cyro self-assigned this Oct 12, 2023
@mpretty-cyro
Copy link
Collaborator Author

Fixes #748

@@ -788,13 +789,30 @@ extension Attachment {
public var isText: Bool { MIMETypeUtil.isText(contentType) }
public var isMicrosoftDoc: Bool { MIMETypeUtil.isMicrosoftDoc(contentType) }

public var documentFileName: String {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do we want to localise these default file names?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yea probably but they already weren't localised so I wanted to try to minimise changes - since the Strings project is progressing separately in the background I wanted to avoid adding to much additional localisation since it's going to be re-done as it's own project in the future

Hopefully with the updated LintLocalizableStrings it'll be a lot easier to identify all of the unlocalised strings that are missing and we can look to add them as part of the Strings project

@mpretty-cyro mpretty-cyro merged commit 109a81f into oxen-io:dev Oct 17, 2023
1 check passed
@mpretty-cyro mpretty-cyro deleted the fix/media-interactions branch October 17, 2023 21:53
@mpretty-cyro mpretty-cyro mentioned this pull request Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants