From e06c901bf5853e2c739f72619a09b375ce436e30 Mon Sep 17 00:00:00 2001 From: metacubex Date: Sat, 10 Dec 2022 02:05:45 +0800 Subject: [PATCH] feat: show subscription --- .idea/codeStyles/Project.xml | 9 -- .../github/kr328/clash/design/util/I18n.kt | 8 ++ design/src/main/res/drawable/bg_b.xml | 12 ++ .../src/main/res/layout/adapter_profile.xml | 51 +++++++-- service/build.gradle.kts | 5 + .../kr328/clash/service/ProfileManager.kt | 105 ++++++++++++++++- .../kr328/clash/service/ProfileProcessor.kt | 108 +++++++++++++++--- .../kr328/clash/service/data/Imported.kt | 4 + .../kr328/clash/service/data/Pending.kt | 4 + .../data/migrations/LegacyMigration.kt | 4 +- .../kr328/clash/service/document/Picker.kt | 3 +- .../kr328/clash/service/model/Profile.kt | 5 + 12 files changed, 280 insertions(+), 38 deletions(-) create mode 100644 design/src/main/res/drawable/bg_b.xml diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index 446cdb23..ccbbe1a7 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -20,15 +20,6 @@ -