From adcf9c5c9780af929c969450c14714a640778b20 Mon Sep 17 00:00:00 2001 From: AnGgIt86 Date: Sun, 29 Sep 2024 09:57:29 +0700 Subject: [PATCH] Little fix and change --- .../kotlin/com/neko/v2ray/ui/MainActivity.kt | 4 -- .../com/neko/v2ray/ui/UserAssetActivity.kt | 2 +- .../main/res/drawable/uwu_switch_track.xml | 4 +- .../main/res/layout/activity_routing_edit.xml | 12 ++---- .../layout/item_recycler_routing_setting.xml | 22 +++------- .../layout/uwu_menu_tools_bottom_sheet.xml | 41 ------------------- 6 files changed, 11 insertions(+), 74 deletions(-) diff --git a/app/src/main/kotlin/com/neko/v2ray/ui/MainActivity.kt b/app/src/main/kotlin/com/neko/v2ray/ui/MainActivity.kt index bb58649d..547f0a6d 100644 --- a/app/src/main/kotlin/com/neko/v2ray/ui/MainActivity.kt +++ b/app/src/main/kotlin/com/neko/v2ray/ui/MainActivity.kt @@ -874,10 +874,6 @@ class MainActivity : BaseActivity(), NavigationView.OnNavigationItemSelectedList requestSubSettingActivity.launch(Intent(this,SubSettingActivity::class.java)) } - fun userAssetSetting(view: View) { - startActivity(Intent(this, UserAssetActivity::class.java)) - } - fun UwuAbout(view: View) { startActivity(Intent(this, NekoAboutActivity::class.java)) } diff --git a/app/src/main/kotlin/com/neko/v2ray/ui/UserAssetActivity.kt b/app/src/main/kotlin/com/neko/v2ray/ui/UserAssetActivity.kt index 51850be6..ee255f1a 100644 --- a/app/src/main/kotlin/com/neko/v2ray/ui/UserAssetActivity.kt +++ b/app/src/main/kotlin/com/neko/v2ray/ui/UserAssetActivity.kt @@ -25,7 +25,7 @@ import com.tbruyelle.rxpermissions3.RxPermissions import com.neko.v2ray.AppConfig import com.neko.v2ray.AppConfig.LOOPBACK import com.neko.v2ray.R -import com.neko.v2ray.databinding.ActivitySubSettingBinding +import com.neko.v2ray.databinding.ActivityUserAssetBinding import com.neko.v2ray.databinding.ItemRecyclerUserAssetBinding import com.neko.v2ray.databinding.LayoutProgressBinding import com.neko.v2ray.dto.AssetUrlItem diff --git a/app/src/main/res/drawable/uwu_switch_track.xml b/app/src/main/res/drawable/uwu_switch_track.xml index 8e9b1352..7c6552b0 100644 --- a/app/src/main/res/drawable/uwu_switch_track.xml +++ b/app/src/main/res/drawable/uwu_switch_track.xml @@ -10,7 +10,7 @@ android:shape="rectangle" android:useLevel="false"> @@ -39,7 +39,7 @@ android:shape="rectangle" android:useLevel="false"> diff --git a/app/src/main/res/layout/activity_routing_edit.xml b/app/src/main/res/layout/activity_routing_edit.xml index 26596389..b7bd7607 100644 --- a/app/src/main/res/layout/activity_routing_edit.xml +++ b/app/src/main/res/layout/activity_routing_edit.xml @@ -301,17 +301,11 @@ android:layout_height="wrap_content" android:layout_marginTop="8.0dip" android:layout_marginBottom="8.0dip"> - - + android:layout_height="wrap_content" /> -<<<<<<< HEAD:app/src/main/res/layout/item_recycler_routing_setting.xml - -======= - - - - - ->>>>>>> 9b86ba9e (Add routing rule lock, keep this rule when import presets):V2rayNG/app/src/main/res/layout/item_recycler_routing_setting.xml + app:srcCompat="@drawable/ic_edit_24dp" + app:tint="?android:textColorPrimary" /> - - - - -