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
|
||||
)
|
||||
}
|
||||
val color = ThemeStore.accentColor(requireContext())
|
||||
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
|
||||
appNameText.text = getString(R.string.app_name)
|
||||
}
|
||||
|
||||
private fun setUpRecyclerView() {
|
||||
|
|
|
@ -180,13 +180,7 @@ public class FoldersFragment extends AbsMainActivityFragment
|
|||
private void setUpTitle() {
|
||||
toolbar.setNavigationOnClickListener(
|
||||
v -> Navigation.findNavController(v).navigate(R.id.searchFragment, null, getNavOptions()));
|
||||
int color = ThemeStore.Companion.accentColor(requireContext());
|
||||
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);
|
||||
appNameText.setText(getString(R.string.app_name));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -122,13 +122,7 @@ class HomeFragment :
|
|||
navOptions
|
||||
)
|
||||
}
|
||||
val color = ThemeStore.accentColor(requireContext())
|
||||
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
|
||||
appNameText.text = getString(R.string.app_name)
|
||||
}
|
||||
|
||||
private fun loadProfile() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue