Skip to content

Commit

Permalink
Merge pull request #52 from AmityCo/release-4.0
Browse files Browse the repository at this point in the history
fix: resolve breaking changes
  • Loading branch information
Enixma authored Dec 22, 2023
2 parents f9bb452 + dd09fec commit b3d3a3c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class AmityDraftStoryViewModel : AmityBaseViewModel() {
.createImageStory(
targetType = AmityStory.TargetType.COMMUNITY,
targetId = communityId,
fileUri = fileUri,
imageUri = fileUri,
imageDisplayMode = imageDisplayMode
)
.subscribeOn(Schedulers.io())
Expand All @@ -41,7 +41,7 @@ class AmityDraftStoryViewModel : AmityBaseViewModel() {
.createVideoStory(
targetType = AmityStory.TargetType.COMMUNITY,
targetId = communityId,
fileUri = fileUri
videoUri = fileUri
)
.subscribeOn(Schedulers.io())
.observeOn(AndroidSchedulers.mainThread())
Expand Down

0 comments on commit b3d3a3c

Please sign in to comment.