1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2025-10-22 10:57:38 +00:00

-Reduced text size for hold to append tip.

-Added options to turn off hold to append tip.
This commit is contained in:
John Zhen Mo
2017-10-16 18:59:59 -07:00
parent eb9770e3ba
commit 21d42c92e5
5 changed files with 11 additions and 1 deletions

View File

@@ -480,6 +480,8 @@ public class VideoDetailFragment extends BaseStateFragment<StreamInfo> implement
return new View.OnTouchListener() {
@Override
public boolean onTouch(View view, MotionEvent motionEvent) {
if (!PreferenceManager.getDefaultSharedPreferences(activity).getBoolean(getString(R.string.show_hold_to_append_key), true)) return false;
if (motionEvent.getAction() == MotionEvent.ACTION_DOWN) {
appendControlsDetail.setVisibility(View.VISIBLE);
} else {