Prepare release 1.3.0

This commit is contained in:
Thomas 2020-10-08 18:30:47 +02:00
parent 7678da2bb6
commit 74d6cb8041
4 changed files with 19 additions and 11 deletions

View File

@ -10,8 +10,8 @@ android {
minSdkVersion 21 minSdkVersion 21
targetSdkVersion 30 targetSdkVersion 30
versionCode 13 versionCode 14
versionName "1.2.1" versionName "1.3.0"
multiDexEnabled true multiDexEnabled true
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
} }

View File

@ -1,4 +1,5 @@
- Force le mode paysage lors du passage en mode plein écran - Support for m3u8 videos
- Modifier la valeur du cache pour les vidéos - Improve loading time
- Définir la résolution par défaut pour les vidéos - Quick menu access for videos (edit/playlist/follow/report)
- Correction de bugs - Improve menu for adding videos in playlists
- Fix an issue with pagination

View File

@ -1,5 +1,5 @@
- Force landscape view when switching in full screen - Support for m3u8 videos
- Sync languages with the instance - Improve loading time
- Change default cache for videos (settings) - Quick menu access for videos (edit/playlist/follow/report)
- Set default resolution for videos (settings) - Improve menu for adding videos in playlists
- Some bug fixes. - Fix an issue with pagination

View File

@ -153,6 +153,13 @@ public class MainActivity extends AppCompatActivity {
fm.beginTransaction().add(R.id.nav_host_fragment, overviewFragment, "1").commit(); fm.beginTransaction().add(R.id.nav_host_fragment, overviewFragment, "1").commit();
} }
toolbar.setOnClickListener(v->{
if(active instanceof DisplayVideosFragment) {
((DisplayVideosFragment) active).scrollToTop();
}else if(active instanceof DisplayOverviewFragment) {
((DisplayOverviewFragment) active).scrollToTop();
}
});
if (Helper.isLoggedIn(MainActivity.this)) { if (Helper.isLoggedIn(MainActivity.this)) {
navView.inflateMenu(R.menu.bottom_nav_menu_connected); navView.inflateMenu(R.menu.bottom_nav_menu_connected);