maitrungduc1410 / react-native-video-trim

Video trimmer for React Native App
MIT License
37 stars 14 forks source link

Is any plan that I can set alert's title and message? #26

Closed Parkjunwu closed 3 months ago

Parkjunwu commented 4 months ago

Is any plan that can set alert's title's and message's text?

Default title - "Confirmation!" message - "Are you sure want to save?" ok button text - "Proceed" close button text - "Close"

Thank you very much for making awesome library!

maitrungduc1410 commented 4 months ago

I'll push update to support this

Parkjunwu commented 4 months ago

thank you very much!

maitrungduc1410 commented 3 months ago

hi, please upgrade to 1.0.12, remember to re-run pod install

Now you have full control of all the texts:

showEditor(url, {
  maxDuration: 30,
  cancelButtonText: 'hello',
  saveButtonText: 'world',
  removeAfterSavedToPhoto: true,
  enableCancelDialog: false,
  cancelDialogTitle: '1111',
  cancelDialogMessage: '22222',
  cancelDialogCancelText: '3333',
  cancelDialogConfirmText: '4444',
  enableSaveDialog: false,
  saveDialogTitle: '5555',
  saveDialogMessage: '666666',
  saveDialogCancelText: '77777',
  saveDialogConfirmText: '888888',
  trimmingText: '9999999',
})

Checkout README for usage

Parkjunwu commented 3 months ago

Thank you so so much!