Fixed a bug with the last start page.
This commit is contained in:
parent
e1bf16f20c
commit
f6e5f989b8
3 changed files with 2 additions and 6 deletions
|
|
@ -174,7 +174,7 @@ public class MainActivity extends AbsSlidingMusicPanelActivity
|
||||||
public void run() {
|
public void run() {
|
||||||
setMusicChooser(LIBRARY);
|
setMusicChooser(LIBRARY);
|
||||||
}
|
}
|
||||||
}, 300);
|
}, 200);
|
||||||
break;
|
break;
|
||||||
case R.id.nav_folders:
|
case R.id.nav_folders:
|
||||||
new Handler().postDelayed(new Runnable() {
|
new Handler().postDelayed(new Runnable() {
|
||||||
|
|
@ -182,7 +182,7 @@ public class MainActivity extends AbsSlidingMusicPanelActivity
|
||||||
public void run() {
|
public void run() {
|
||||||
setMusicChooser(FOLDERS);
|
setMusicChooser(FOLDERS);
|
||||||
}
|
}
|
||||||
}, 300);
|
}, 200);
|
||||||
break;
|
break;
|
||||||
case R.id.support_development:
|
case R.id.support_development:
|
||||||
new Handler().postDelayed(new Runnable() {
|
new Handler().postDelayed(new Runnable() {
|
||||||
|
|
|
||||||
|
|
@ -150,8 +150,6 @@ public class FolderFragment extends AbsMainActivityFragment implements MainActiv
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onViewCreated(View view, @Nullable Bundle savedInstanceState) {
|
public void onViewCreated(View view, @Nullable Bundle savedInstanceState) {
|
||||||
PreferenceUtil.getInstance(getActivity()).setLastPage(-2);
|
|
||||||
|
|
||||||
getMainActivity().setStatusbarColorAuto();
|
getMainActivity().setStatusbarColorAuto();
|
||||||
getMainActivity().setNavigationbarColorAuto();
|
getMainActivity().setNavigationbarColorAuto();
|
||||||
getMainActivity().setTaskDescriptionColorAuto();
|
getMainActivity().setTaskDescriptionColorAuto();
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,6 @@
|
||||||
<item>@string/albums</item>
|
<item>@string/albums</item>
|
||||||
<item>@string/artists</item>
|
<item>@string/artists</item>
|
||||||
<item>@string/playlists</item>
|
<item>@string/playlists</item>
|
||||||
<item>@string/folders</item>
|
|
||||||
</string-array>
|
</string-array>
|
||||||
|
|
||||||
<string-array name="pref_start_page_list_values">
|
<string-array name="pref_start_page_list_values">
|
||||||
|
|
@ -14,7 +13,6 @@
|
||||||
<item>1</item>
|
<item>1</item>
|
||||||
<item>2</item>
|
<item>2</item>
|
||||||
<item>3</item>
|
<item>3</item>
|
||||||
<item>-2</item>
|
|
||||||
</string-array>
|
</string-array>
|
||||||
|
|
||||||
<string-array name="pref_general_theme_list_titles">
|
<string-array name="pref_general_theme_list_titles">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue