chg: fix inconsistent channel naming
This commit is contained in:
@@ -33,7 +33,7 @@ class PlatformSettingsHandler : FlutterPlugin, MethodChannel.MethodCallHandler,
|
|||||||
private lateinit var ignoreRequestResult: MethodChannel.Result
|
private lateinit var ignoreRequestResult: MethodChannel.Result
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
const val channelName = "app.hiddify.com/platform"
|
const val channelName = "com.hiddify.app/platform"
|
||||||
|
|
||||||
const val REQUEST_IGNORE_BATTERY_OPTIMIZATIONS = 44
|
const val REQUEST_IGNORE_BATTERY_OPTIMIZATIONS = 44
|
||||||
val gson = Gson()
|
val gson = Gson()
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ abstract interface class PerAppProxyRepository {
|
|||||||
class PerAppProxyRepositoryImpl
|
class PerAppProxyRepositoryImpl
|
||||||
with InfraLogger
|
with InfraLogger
|
||||||
implements PerAppProxyRepository {
|
implements PerAppProxyRepository {
|
||||||
final _methodChannel = const MethodChannel("app.hiddify.com/platform");
|
final _methodChannel = const MethodChannel("com.hiddify.app/platform");
|
||||||
|
|
||||||
@override
|
@override
|
||||||
TaskEither<String, List<InstalledPackageInfo>> getInstalledPackages() {
|
TaskEither<String, List<InstalledPackageInfo>> getInstalledPackages() {
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ abstract interface class SettingsRepository {
|
|||||||
class SettingsRepositoryImpl
|
class SettingsRepositoryImpl
|
||||||
with ExceptionHandler, InfraLogger
|
with ExceptionHandler, InfraLogger
|
||||||
implements SettingsRepository {
|
implements SettingsRepository {
|
||||||
final _methodChannel = const MethodChannel("app.hiddify.com/platform");
|
final _methodChannel = const MethodChannel("com.hiddify.app/platform");
|
||||||
|
|
||||||
@override
|
@override
|
||||||
TaskEither<SettingsFailure, bool> isIgnoringBatteryOptimizations() {
|
TaskEither<SettingsFailure, bool> isIgnoringBatteryOptimizations() {
|
||||||
|
|||||||
Reference in New Issue
Block a user