Replace Retro Music with Metro
This commit is contained in:
parent
e5a27ca7f1
commit
2059a55281
3 changed files with 3 additions and 21 deletions
|
@ -78,13 +78,7 @@ abstract class AbsRecyclerViewFragment<A : RecyclerView.Adapter<*>, LM : Recycle
|
||||||
navOptions
|
navOptions
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
val color = ThemeStore.accentColor(requireContext())
|
appNameText.text = getString(R.string.app_name)
|
||||||
val hexColor = String.format("#%06X", 0xFFFFFF and color)
|
|
||||||
val appName = HtmlCompat.fromHtml(
|
|
||||||
"Retro <span style='color:$hexColor';>Music</span>",
|
|
||||||
HtmlCompat.FROM_HTML_MODE_COMPACT
|
|
||||||
)
|
|
||||||
appNameText.text = appName
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun setUpRecyclerView() {
|
private fun setUpRecyclerView() {
|
||||||
|
|
|
@ -180,13 +180,7 @@ public class FoldersFragment extends AbsMainActivityFragment
|
||||||
private void setUpTitle() {
|
private void setUpTitle() {
|
||||||
toolbar.setNavigationOnClickListener(
|
toolbar.setNavigationOnClickListener(
|
||||||
v -> Navigation.findNavController(v).navigate(R.id.searchFragment, null, getNavOptions()));
|
v -> Navigation.findNavController(v).navigate(R.id.searchFragment, null, getNavOptions()));
|
||||||
int color = ThemeStore.Companion.accentColor(requireContext());
|
appNameText.setText(getString(R.string.app_name));
|
||||||
String hexColor = String.format("#%06X", 0xFFFFFF & color);
|
|
||||||
Spanned appName =
|
|
||||||
HtmlCompat.fromHtml(
|
|
||||||
"Retro <span style='color:" + hexColor + ";'>Music</span>",
|
|
||||||
HtmlCompat.FROM_HTML_MODE_COMPACT);
|
|
||||||
appNameText.setText(appName);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
|
@ -122,13 +122,7 @@ class HomeFragment :
|
||||||
navOptions
|
navOptions
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
val color = ThemeStore.accentColor(requireContext())
|
appNameText.text = getString(R.string.app_name)
|
||||||
val hexColor = String.format("#%06X", 0xFFFFFF and color)
|
|
||||||
val appName = HtmlCompat.fromHtml(
|
|
||||||
"Retro <span style='color:$hexColor';>Music</span>",
|
|
||||||
HtmlCompat.FROM_HTML_MODE_COMPACT
|
|
||||||
)
|
|
||||||
appNameText.text = appName
|
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun loadProfile() {
|
private fun loadProfile() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue