From e731943437861f2eeac4d8a442f512065be2a0e7 Mon Sep 17 00:00:00 2001 From: Harsh Shandilya Date: Fri, 4 Sep 2020 12:06:55 +0530 Subject: Revamp onboarding logic (#1068) --- .idea/codeStyles/Project.xml | 1 + app/src/main/AndroidManifest.xml | 4 + .../java/com/zeapo/pwdstore/OnboardingActivity.kt | 203 +++++++++++++++++++++ .../main/java/com/zeapo/pwdstore/PasswordStore.kt | 166 +---------------- .../main/java/com/zeapo/pwdstore/ToCloneOrNot.kt | 24 --- .../zeapo/pwdstore/git/GitServerConfigActivity.kt | 10 +- .../java/com/zeapo/pwdstore/utils/Extensions.kt | 6 + .../com/zeapo/pwdstore/utils/PasswordRepository.kt | 6 +- app/src/main/res/layout/activity_onboarding.xml | 73 ++++++++ .../main/res/layout/fragment_to_clone_or_not.xml | 73 -------- app/src/main/res/values-cs/strings.xml | 1 - app/src/main/res/values-es/strings.xml | 1 - app/src/main/res/values-fr/strings.xml | 1 - app/src/main/res/values-pt-rBR/strings.xml | 1 - app/src/main/res/values-ru/strings.xml | 1 - app/src/main/res/values/strings.xml | 2 +- 16 files changed, 306 insertions(+), 267 deletions(-) create mode 100644 app/src/main/java/com/zeapo/pwdstore/OnboardingActivity.kt delete mode 100644 app/src/main/java/com/zeapo/pwdstore/ToCloneOrNot.kt create mode 100644 app/src/main/res/layout/activity_onboarding.xml delete mode 100644 app/src/main/res/layout/fragment_to_clone_or_not.xml diff --git a/.idea/codeStyles/Project.xml b/.idea/codeStyles/Project.xml index b82dc0ea..f1b342f5 100644 --- a/.idea/codeStyles/Project.xml +++ b/.idea/codeStyles/Project.xml @@ -55,6 +55,7 @@ +