Text edit

This commit is contained in:
Kelvin 2024-01-17 17:23:38 +01:00
parent 96b9b8843c
commit 26b822e04b

View File

@ -160,8 +160,8 @@ class HomeFragment : MainFragment() {
val pluginsExist = StatePlatform.instance.getAvailableClients().isNotEmpty(); val pluginsExist = StatePlatform.instance.getAvailableClients().isNotEmpty();
if(StatePlatform.instance.getEnabledClients().isEmpty()) if(StatePlatform.instance.getEnabledClients().isEmpty())
//Initial setup //Initial setup
return NoResultsView(context, "No enabled Sources", if(pluginsExist) return NoResultsView(context, "No enabled sources", if(pluginsExist)
"Enable or install some Sources" "Enable or install some sources"
else "This Grayjay version comes without any sources, install sources externally or using the button below.", R.drawable.ic_sources, else "This Grayjay version comes without any sources, install sources externally or using the button below.", R.drawable.ic_sources,
listOf(BigButton(context, "Browse Online Sources", "View official sources online", R.drawable.ic_explore) { listOf(BigButton(context, "Browse Online Sources", "View official sources online", R.drawable.ic_explore) {
fragment.navigate<BrowserFragment>(BrowserFragment.NavigateOptions("https://plugins.grayjay.app/phone.html", mapOf( fragment.navigate<BrowserFragment>(BrowserFragment.NavigateOptions("https://plugins.grayjay.app/phone.html", mapOf(