Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 178cb995 authored by Jonathan Klee's avatar Jonathan Klee
Browse files

Remove useless empty catogories on home page

parent a6827ab7
Loading
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -26,8 +26,6 @@ data class CleanApkHome(
    val top_updated_games: List<Application> = emptyList(),
    val popular_apps: List<Application> = emptyList(),
    val popular_games: List<Application> = emptyList(),
    val popular_apps_in_last_24_hours: List<Application> = emptyList(),
    val popular_games_in_last_24_hours: List<Application> = emptyList(),
    val discover: List<Application> = emptyList(),
    var origin: Origin = Origin.CLEANAPK // Origin
)
+0 −18
Original line number Diff line number Diff line
@@ -34,22 +34,6 @@ class HomeConverter @Inject constructor(
                    applicationDataManager.prepareApps(cleanApkHome.popular_games, list, value)
                }

                "popular_apps_in_last_24_hours" -> {
                    applicationDataManager.prepareApps(
                        cleanApkHome.popular_apps_in_last_24_hours,
                        list,
                        value
                    )
                }

                "popular_games_in_last_24_hours" -> {
                    applicationDataManager.prepareApps(
                        cleanApkHome.popular_games_in_last_24_hours,
                        list,
                        value
                    )
                }

                "discover" -> {
                    applicationDataManager.prepareApps(cleanApkHome.discover, list, value)
                }
@@ -66,8 +50,6 @@ class HomeConverter @Inject constructor(
        mapOf(
            "top_updated_apps" to context.getString(R.string.top_updated_apps),
            "top_updated_games" to context.getString(R.string.top_updated_games),
            "popular_apps_in_last_24_hours" to context.getString(R.string.popular_apps_in_last_24_hours),
            "popular_games_in_last_24_hours" to context.getString(R.string.popular_games_in_last_24_hours),
            "popular_apps" to context.getString(R.string.popular_apps),
            "popular_games" to context.getString(R.string.popular_games),
            "discover" to context.getString(R.string.discover)
+0 −2
Original line number Diff line number Diff line
@@ -72,8 +72,6 @@
    <string name="discover">Entdecke</string>
    <string name="top_updated_apps">Top quelloffene aktualisierte Apps</string>
    <string name="top_updated_games">Top quelloffene aktualisierte Spiele</string>
    <string name="popular_apps_in_last_24_hours">Beliebteste quelloffene Apps in den letzten 24 Stunden</string>
    <string name="popular_games_in_last_24_hours">Beliebteste quelloffene Spiele in den letzten 24 Stunden</string>
    <string name="popular_apps">PWA beliebteste Apps</string>
    <string name="popular_games">PWA beliebteste Spiele</string>
    <string name="topselling_free_apps">Top kostenlose Apps</string>
+0 −2
Original line number Diff line number Diff line
@@ -76,8 +76,6 @@
    <string name="discover">Explorar</string>
    <string name="top_updated_apps">Aplicaciones de código abierto más actualizadas</string>
    <string name="top_updated_games">Juegos de código abierto más actualizados</string>
    <string name="popular_games_in_last_24_hours">Juegos de código abierto más populares en las últimas 24 horas</string>
    <string name="popular_apps_in_last_24_hours">Aplicaciones de código abierto más populares en las últimas 24 horas</string>
    <string name="popular_apps">Aplicaciones PWA populares</string>
    <string name="popular_games">Juegos PWA populares</string>
    <string name="topselling_free_apps">Las mejores aplicaciones gratuitas</string>
+0 −2
Original line number Diff line number Diff line
@@ -110,8 +110,6 @@
    <string name="topselling_free_apps">Top ilmaiset sovellukset</string>
    <string name="popular_games">PWA Suositut pelit</string>
    <string name="popular_apps">PWA Suositut sovellukset</string>
    <string name="popular_games_in_last_24_hours">Suosittuja avoimen lähdekoodin pelejä viimeisen 24 tunnin aikana</string>
    <string name="popular_apps_in_last_24_hours">Suosittuja avoimen lähdekoodin sovelluksia viimeisen 24 tunnin aikana</string>
    <string name="top_updated_games">Avoimen lähdekoodin päivitettyjen pelien Top lista</string>
    <string name="top_updated_apps">Avoimen lähdekoodin päivitettyjen sovellusten Top lista</string>
    <string name="discover">Tutustu</string>
Loading