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

refactor: change duration type to number for both Asset and File type #2330

Merged
merged 1 commit into from
Nov 24, 2023

Conversation

khushal87
Copy link
Member

🎯 Goal

The File type has the type of duration as string | null. It should rather be number as it makes more sense and also creates a parity with the Asset type.

🛠 Implementation details

🎨 UI Changes

iOS
Before After
Android
Before After

🧪 Testing

☑️ Checklist

  • I have signed the Stream CLA (required)
  • PR targets the develop branch
  • Documentation is updated
  • New code is tested in main example apps, including all possible scenarios
    • SampleApp iOS and Android
    • Expo iOS and Android

@khushal87
Copy link
Member Author

Merging after self-review.

@khushal87 khushal87 merged commit 2b13bd5 into develop Nov 24, 2023
6 checks passed
@khushal87 khushal87 deleted the fix-duration-type branch November 24, 2023 05:01
@stream-ci-bot
Copy link
Contributor

🎉 This PR is included in version 5.22.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

2 participants