mirror of
https://github.com/MetaCubeX/ClashMetaForAndroid.git
synced 2026-05-09 18:11:26 +08:00
Fix: use hardcoded components package name
This commit is contained in:
@@ -4,6 +4,8 @@ import android.content.ComponentName
|
|||||||
import com.github.kr328.clash.common.util.packageName
|
import com.github.kr328.clash.common.util.packageName
|
||||||
|
|
||||||
object Components {
|
object Components {
|
||||||
val MAIN_ACTIVITY = ComponentName(packageName, "$packageName.MainActivity")
|
private const val componentsPackageName = "com.github.kr328.clash"
|
||||||
val PROPERTIES_ACTIVITY = ComponentName(packageName, "$packageName.PropertiesActivity")
|
|
||||||
|
val MAIN_ACTIVITY = ComponentName(packageName, "$componentsPackageName.MainActivity")
|
||||||
|
val PROPERTIES_ACTIVITY = ComponentName(packageName, "$componentsPackageName.PropertiesActivity")
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user