From 2074dd4b798202531972f78b9c7a733ebd7da47f Mon Sep 17 00:00:00 2001 From: ialokim Date: Sun, 8 Oct 2023 00:20:33 +0200 Subject: [PATCH] disable Austrian providers that are currently broken in PTE see https://github.com/grote/Transportr/issues/817 --- .../transportr/networks/TransportNetworks.kt | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/app/src/main/java/de/grobox/transportr/networks/TransportNetworks.kt b/app/src/main/java/de/grobox/transportr/networks/TransportNetworks.kt index 39f8611ed..0ee086545 100644 --- a/app/src/main/java/de/grobox/transportr/networks/TransportNetworks.kt +++ b/app/src/main/java/de/grobox/transportr/networks/TransportNetworks.kt @@ -247,12 +247,13 @@ private val networks = arrayOf( logo = R.drawable.network_oebb_logo, factory = { OebbProvider("{\"type\":\"AID\",\"aid\":\"OWDL4fE4ixNiPBBm\"}") } ), - TransportNetwork( + // see https://github.com/grote/Transportr/issues/817 + /*TransportNetwork( id = NetworkId.VOR, description = R.string.np_desc_vor, logo = R.drawable.network_vor_logo, factory = { VorProvider(VAO) } - ), + ),*/ TransportNetwork( id = NetworkId.LINZ, name = R.string.np_name_linz, @@ -272,27 +273,29 @@ private val networks = arrayOf( // logo = R.drawable.network_ivb_logo, // factory = { IvbProvider() } // ), - TransportNetwork( + // see https://github.com/grote/Transportr/issues/817 + /*TransportNetwork( id = NetworkId.STV, name = R.string.np_name_stv, description = R.string.np_desc_stv, logo = R.drawable.network_stv_logo, factory = { StvProvider() } - ), - TransportNetwork( + ),*/ + /*TransportNetwork( id = NetworkId.WIEN, name = R.string.np_name_wien, description = R.string.np_desc_wien, logo = R.drawable.network_wien_logo, factory = { WienProvider() } - ), - TransportNetwork( + ),*/ + // see https://github.com/grote/Transportr/issues/817 + /*TransportNetwork( id = NetworkId.VMOBIL, name = R.string.np_name_vmobil, description = R.string.np_desc_vmobil, logo = R.drawable.network_vmobil_logo, factory = { VmobilProvider(VAO) } - ) + )*/ ) ), Country(