From 481b73dcb89d89bbf7ad901573181c4a88499039 Mon Sep 17 00:00:00 2001 From: Mateo Hrastnik Date: Sun, 24 Nov 2024 14:46:39 +0100 Subject: [PATCH] Remove unused setMuteListenerInterval method and export VolumeManager as default --- ios/VolumeManager.m | 2 -- src/index.ts | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/ios/VolumeManager.m b/ios/VolumeManager.m index 1fd84d9..47e4aae 100644 --- a/ios/VolumeManager.m +++ b/ios/VolumeManager.m @@ -192,8 +192,6 @@ - (void)observeValueForKeyPath:(NSString *)keyPath }); } -RCT_EXTERN_METHOD(setMuteListenerInterval : (nonnull NSNumber *)newInterval) - RCT_EXPORT_METHOD(enable : (BOOL)enabled async : (BOOL)async) { if (async) { dispatch_async( diff --git a/src/index.ts b/src/index.ts index 1647bce..9d51643 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,3 +1,6 @@ export * from './native'; export * from './hooks'; export * from './types'; + +import VolumeManager from './native'; +export default VolumeManager; \ No newline at end of file