mirror of
https://github.com/MetaCubeX/ClashMetaForAndroid.git
synced 2025-02-19 16:23:14 +03:00
Fix: use hardcoded components package name
This commit is contained in:
parent
b8f0c32ad5
commit
c245fc6dfa
@ -4,6 +4,8 @@ import android.content.ComponentName
|
||||
import com.github.kr328.clash.common.util.packageName
|
||||
|
||||
object Components {
|
||||
val MAIN_ACTIVITY = ComponentName(packageName, "$packageName.MainActivity")
|
||||
val PROPERTIES_ACTIVITY = ComponentName(packageName, "$packageName.PropertiesActivity")
|
||||
private const val componentsPackageName = "com.github.kr328.clash"
|
||||
|
||||
val MAIN_ACTIVITY = ComponentName(packageName, "$componentsPackageName.MainActivity")
|
||||
val PROPERTIES_ACTIVITY = ComponentName(packageName, "$componentsPackageName.PropertiesActivity")
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user