From 91042c083fd556fb818ce4a2b619df7026c3937f Mon Sep 17 00:00:00 2001 From: asxalex Date: Wed, 9 Jul 2025 16:43:59 +0800 Subject: [PATCH] changed vpn service to ServiceViewModel --- .idea/inspectionProfiles/Project_Default.xml | 10 + app/build.gradle.kts | 5 + .../java/com/jihe/punchnet/MainActivity.kt | 62 +- .../java/com/jihe/punchnet/data/RouteItem.kt | 109 +++ .../jihe/punchnet/data/ServiceViewModel.kt | 75 ++ .../punchnet/screen/AppNavigationItems.kt | 66 ++ .../com/jihe/punchnet/screen/BottomNavBar.kt | 66 ++ .../com/jihe/punchnet/screen/HomeScreen.kt | 164 +++++ .../com/jihe/punchnet/screen/MainScreen.kt | 54 +- .../com/jihe/punchnet/sdlan/network/arp.kt | 22 +- .../com/jihe/punchnet/sdlan/network/iface.kt | 6 +- .../com/jihe/punchnet/sdlan/network/route.kt | 2 +- app/src/main/res/drawable/punchnet_log.xml | 648 ++++++++++++++++++ 13 files changed, 1235 insertions(+), 54 deletions(-) create mode 100644 app/src/main/java/com/jihe/punchnet/data/RouteItem.kt create mode 100644 app/src/main/java/com/jihe/punchnet/data/ServiceViewModel.kt create mode 100644 app/src/main/java/com/jihe/punchnet/screen/AppNavigationItems.kt create mode 100644 app/src/main/java/com/jihe/punchnet/screen/BottomNavBar.kt create mode 100644 app/src/main/java/com/jihe/punchnet/screen/HomeScreen.kt create mode 100644 app/src/main/res/drawable/punchnet_log.xml diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml index 005afb3..cde3e19 100644 --- a/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -3,15 +3,19 @@