From 593c2fc4fe6308545c05d87834c07bcd737547b4 Mon Sep 17 00:00:00 2001 From: Blatzar <46196380+Blatzar@users.noreply.github.com> Date: Thu, 18 Aug 2022 23:55:11 +0200 Subject: [PATCH] Second try fixing nginx --- .../src/main/kotlin/com/lagradost/NginxSettingsFragment.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/NginxProvider/src/main/kotlin/com/lagradost/NginxSettingsFragment.kt b/NginxProvider/src/main/kotlin/com/lagradost/NginxSettingsFragment.kt index 152647f..2f582ce 100644 --- a/NginxProvider/src/main/kotlin/com/lagradost/NginxSettingsFragment.kt +++ b/NginxProvider/src/main/kotlin/com/lagradost/NginxSettingsFragment.kt @@ -41,12 +41,12 @@ class NginxSettingsFragment(private val plugin: Plugin, val nginxApi: NginxApi) } private fun getString(name: String): String { - val id = this.resources.getIdentifier(name, "string", "com.lagradost") + val id = this.resources.getIdentifier(name, "string", "com.lagradost.cloudstream3") return this.getString(id) } private fun getAttr(name: String): Int { - return this.resources.getIdentifier(name, "attr", "com.lagradost") + return this.resources.getIdentifier(name, "attr", "com.lagradost.cloudstream3") } override fun onViewCreated(view: View, savedInstanceState: Bundle?) {