[Android] Fix video category name display
Geoffrey Métais
git at videolan.org
Thu Jan 17 15:16:08 CET 2019
vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Thu Jan 17 15:15:42 2019 +0100| [8eff20417c832d3dad21f21cb408f5b86320035a] | committer: Geoffrey Métais
Fix video category name display
> https://code.videolan.org/videolan/vlc-android/commit/8eff20417c832d3dad21f21cb408f5b86320035a
---
vlc-android/src/org/videolan/vlc/gui/folders/FoldersFragment.kt | 2 +-
vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/vlc-android/src/org/videolan/vlc/gui/folders/FoldersFragment.kt b/vlc-android/src/org/videolan/vlc/gui/folders/FoldersFragment.kt
index ca4e9f98e..496ef1888 100644
--- a/vlc-android/src/org/videolan/vlc/gui/folders/FoldersFragment.kt
+++ b/vlc-android/src/org/videolan/vlc/gui/folders/FoldersFragment.kt
@@ -85,7 +85,7 @@ class FoldersFragment : MediaBrowserFragment<PagedFoldersModel>(), CoroutineScop
mSwipeRefreshLayout.setOnRefreshListener { activity?.reload() }
}
- override fun getTitle() = getString(R.string.videos)
+ override fun getTitle() = getString(R.string.video)
override fun onRefresh() {
viewModel.refresh()
diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java
index 9157a827a..98646f22d 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoGridFragment.java
@@ -176,7 +176,7 @@ public class VideoGridFragment extends MediaBrowserFragment<VideosModel> impleme
@Override
public String getTitle() {
- return mGroup == null ? mFolder == null ? getString(R.string.videos) : mFolder.getTitle() : mGroup + "\u2026";
+ return mGroup == null ? mFolder == null ? getString(R.string.video) : mFolder.getTitle() : mGroup + "\u2026";
}
private void updateViewMode() {
More information about the Android
mailing list