Some improvements
This commit is contained in:
parent
fa6b1560f8
commit
a0ff454dd9
|
@ -2,5 +2,6 @@
|
||||||
- Remove all comments of an account on your videos
|
- Remove all comments of an account on your videos
|
||||||
- Sepia search: Allow interactions when the video is federated
|
- Sepia search: Allow interactions when the video is federated
|
||||||
- Mute accounts from comments
|
- Mute accounts from comments
|
||||||
|
- Links clickable in video descriptions
|
||||||
- Fix all comments not displayed
|
- Fix all comments not displayed
|
||||||
- Fix some minor other bugs
|
- Fix some minor other bugs
|
|
@ -15,6 +15,7 @@ package app.fedilab.fedilabtube;
|
||||||
* see <http://www.gnu.org/licenses>. */
|
* see <http://www.gnu.org/licenses>. */
|
||||||
|
|
||||||
import android.Manifest;
|
import android.Manifest;
|
||||||
|
import android.annotation.SuppressLint;
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.app.Dialog;
|
import android.app.Dialog;
|
||||||
import android.content.Intent;
|
import android.content.Intent;
|
||||||
|
@ -486,6 +487,7 @@ public class PeertubeActivity extends AppCompatActivity implements CommentListAd
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@SuppressLint("ClickableViewAccessibility")
|
||||||
public void manageVIewVideo(APIResponse apiResponse) {
|
public void manageVIewVideo(APIResponse apiResponse) {
|
||||||
|
|
||||||
if (apiResponse == null || (apiResponse.getError() != null) || apiResponse.getPeertubes() == null || apiResponse.getPeertubes().size() == 0) {
|
if (apiResponse == null || (apiResponse.getError() != null) || apiResponse.getPeertubes() == null || apiResponse.getPeertubes().size() == 0) {
|
||||||
|
@ -568,7 +570,10 @@ public class PeertubeActivity extends AppCompatActivity implements CommentListAd
|
||||||
}
|
}
|
||||||
SharedPreferences sharedpreferences = getSharedPreferences(Helper.APP_PREFS, MODE_PRIVATE);
|
SharedPreferences sharedpreferences = getSharedPreferences(Helper.APP_PREFS, MODE_PRIVATE);
|
||||||
setTitle(peertube.getName());
|
setTitle(peertube.getName());
|
||||||
|
|
||||||
peertube_description.setText(peertube.getDescription());
|
peertube_description.setText(peertube.getDescription());
|
||||||
|
|
||||||
|
|
||||||
peertube_title.setText(peertube.getName());
|
peertube_title.setText(peertube.getName());
|
||||||
peertube_dislike_count.setText(String.valueOf(peertube.getDislikes()));
|
peertube_dislike_count.setText(String.valueOf(peertube.getDislikes()));
|
||||||
peertube_like_count.setText(String.valueOf(peertube.getLikes()));
|
peertube_like_count.setText(String.valueOf(peertube.getLikes()));
|
||||||
|
|
|
@ -204,6 +204,8 @@
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/peertube_description"
|
android:id="@+id/peertube_description"
|
||||||
|
android:textIsSelectable="true"
|
||||||
|
android:autoLink="web"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginTop="10dp" />
|
android:layout_marginTop="10dp" />
|
||||||
|
|
Loading…
Reference in New Issue