Skip to content

Commit 8dbdb44

Browse files
committed
[ FIX ] remove isStreaming
1 parent 4e01a3d commit 8dbdb44

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

android/torrent/src/main/java/com/ghondar/torrentstreamer/TorrentStreamer.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,7 @@ public String getName() {
4747
}
4848

4949
@ReactMethod
50-
public Bool isStreaming() {
51-
return mTorrentStream.isStreaming();
52-
}
53-
54-
@ReactMethod
55-
public Bool stop() {
50+
public void stop() {
5651
if(mTorrentStream.isStreaming()) {
5752
mTorrentStream.stopStream();
5853
}

0 commit comments

Comments
 (0)