allowed user to copy video title to clipboard (from detail screen)

This commit is contained in:
adinilfeld 2020-06-10 14:17:43 -07:00
parent e34f666b70
commit b5375396d2
1 changed files with 2 additions and 1 deletions

View File

@ -105,6 +105,7 @@ import io.reactivex.android.schedulers.AndroidSchedulers;
import io.reactivex.disposables.CompositeDisposable;
import io.reactivex.disposables.Disposable;
import io.reactivex.schedulers.Schedulers;
import us.shandian.giga.util.Utility;
import static org.schabi.newpipe.extractor.StreamingService.ServiceInfo.MediaCapability.COMMENTS;
import static org.schabi.newpipe.extractor.stream.StreamExtractor.NO_AGE_LIMIT;
@ -1429,6 +1430,6 @@ public class VideoDetailFragment extends BaseStateFragment<StreamInfo>
}
private void copyTitleText() {
Utility.copyToClipboard(getContext(), videoTitleTextView.getText().toString());
}
}