Browse Source

Minor changes on mobile version

tags/cli-v10.2.0
Guillaume Vincent 1 year ago
parent
commit
e498b20a81
10 changed files with 351 additions and 324 deletions
  1. +2
    -2
      mobile/android/app/build.gradle
  2. +3
    -2
      mobile/ios/LessPass.xcodeproj/project.pbxproj
  3. +230
    -230
      mobile/ios/Podfile.lock
  4. +1
    -1
      mobile/package.json
  5. BIN
      mobile/src/header/logo.dark.png
  6. +10
    -17
      mobile/src/password/Counter.js
  7. +8
    -5
      mobile/src/password/Options.js
  8. +95
    -64
      mobile/src/password/PasswordGeneratorScreen.js
  9. +1
    -2
      mobile/src/ui/TextInput.js
  10. +1
    -1
      mobile/src/version.json

+ 2
- 2
mobile/android/app/build.gradle View File

@@ -147,8 +147,8 @@ android {
applicationId "com.lesspass.android"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 9007003
versionName "9.7.3"
versionCode 9007004
versionName "9.7.4"
buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()

if (isNewArchitectureEnabled()) {


+ 3
- 2
mobile/ios/LessPass.xcodeproj/project.pbxproj View File

@@ -529,7 +529,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 9.7.3;
MARKETING_VERSION = 9.7.4;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
@@ -557,7 +557,7 @@
"$(inherited)",
"@executable_path/Frameworks",
);
MARKETING_VERSION = 9.7.3;
MARKETING_VERSION = 9.7.4;
OTHER_LDFLAGS = (
"$(inherited)",
"-ObjC",
@@ -703,6 +703,7 @@
"-DFOLLY_MOBILE=1",
"-DFOLLY_USE_LIBCPP=1",
);
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
SDKROOT = iphoneos;
VALIDATE_PRODUCT = YES;
};


+ 230
- 230
mobile/ios/Podfile.lock View File

@@ -2,14 +2,14 @@ PODS:
- boost (1.76.0)
- CocoaAsyncSocket (7.6.5)
- DoubleConversion (1.1.6)
- FBLazyVector (0.70.3)
- FBReactNativeSpec (0.70.3):
- FBLazyVector (0.70.6)
- FBReactNativeSpec (0.70.6):
- RCT-Folly (= 2021.07.22.00)
- RCTRequired (= 0.70.3)
- RCTTypeSafety (= 0.70.3)
- React-Core (= 0.70.3)
- React-jsi (= 0.70.3)
- ReactCommon/turbomodule/core (= 0.70.3)
- RCTRequired (= 0.70.6)
- RCTTypeSafety (= 0.70.6)
- React-Core (= 0.70.6)
- React-jsi (= 0.70.6)
- ReactCommon/turbomodule/core (= 0.70.6)
- Flipper (0.125.0):
- Flipper-Folly (~> 2.6)
- Flipper-RSocket (~> 1.4)
@@ -73,7 +73,7 @@ PODS:
- FlipperKit/FlipperKitNetworkPlugin
- fmt (6.2.1)
- glog (0.3.5)
- hermes-engine (0.70.2)
- hermes-engine (0.70.6)
- libevent (2.1.12)
- OpenSSL-Universal (1.1.1100)
- RCT-Folly (2021.07.22.00):
@@ -93,214 +93,214 @@ PODS:
- fmt (~> 6.2.1)
- glog
- libevent
- RCTRequired (0.70.3)
- RCTTypeSafety (0.70.3):
- FBLazyVector (= 0.70.3)
- RCTRequired (= 0.70.3)
- React-Core (= 0.70.3)
- React (0.70.3):
- React-Core (= 0.70.3)
- React-Core/DevSupport (= 0.70.3)
- React-Core/RCTWebSocket (= 0.70.3)
- React-RCTActionSheet (= 0.70.3)
- React-RCTAnimation (= 0.70.3)
- React-RCTBlob (= 0.70.3)
- React-RCTImage (= 0.70.3)
- React-RCTLinking (= 0.70.3)
- React-RCTNetwork (= 0.70.3)
- React-RCTSettings (= 0.70.3)
- React-RCTText (= 0.70.3)
- React-RCTVibration (= 0.70.3)
- React-bridging (0.70.3):
- RCTRequired (0.70.6)
- RCTTypeSafety (0.70.6):
- FBLazyVector (= 0.70.6)
- RCTRequired (= 0.70.6)
- React-Core (= 0.70.6)
- React (0.70.6):
- React-Core (= 0.70.6)
- React-Core/DevSupport (= 0.70.6)
- React-Core/RCTWebSocket (= 0.70.6)
- React-RCTActionSheet (= 0.70.6)
- React-RCTAnimation (= 0.70.6)
- React-RCTBlob (= 0.70.6)
- React-RCTImage (= 0.70.6)
- React-RCTLinking (= 0.70.6)
- React-RCTNetwork (= 0.70.6)
- React-RCTSettings (= 0.70.6)
- React-RCTText (= 0.70.6)
- React-RCTVibration (= 0.70.6)
- React-bridging (0.70.6):
- RCT-Folly (= 2021.07.22.00)
- React-jsi (= 0.70.3)
- React-callinvoker (0.70.3)
- React-Codegen (0.70.3):
- FBReactNativeSpec (= 0.70.3)
- React-jsi (= 0.70.6)
- React-callinvoker (0.70.6)
- React-Codegen (0.70.6):
- FBReactNativeSpec (= 0.70.6)
- RCT-Folly (= 2021.07.22.00)
- RCTRequired (= 0.70.3)
- RCTTypeSafety (= 0.70.3)
- React-Core (= 0.70.3)
- React-jsi (= 0.70.3)
- React-jsiexecutor (= 0.70.3)
- ReactCommon/turbomodule/core (= 0.70.3)
- React-Core (0.70.3):
- RCTRequired (= 0.70.6)
- RCTTypeSafety (= 0.70.6)
- React-Core (= 0.70.6)
- React-jsi (= 0.70.6)
- React-jsiexecutor (= 0.70.6)
- ReactCommon/turbomodule/core (= 0.70.6)
- React-Core (0.70.6):
- glog
- RCT-Folly (= 2021.07.22.00)
- React-Core/Default (= 0.70.3)
- React-cxxreact (= 0.70.3)
- React-jsi (= 0.70.3)
- React-jsiexecutor (= 0.70.3)
- React-perflogger (= 0.70.3)
- React-Core/Default (= 0.70.6)
- React-cxxreact (= 0.70.6)
- React-jsi (= 0.70.6)
- React-jsiexecutor (= 0.70.6)
- React-perflogger (= 0.70.6)
- Yoga
- React-Core/CoreModulesHeaders (0.70.3):
- React-Core/CoreModulesHeaders (0.70.6):
- glog
- RCT-Folly (= 2021.07.22.00)
- React-Core/Default
- React-cxxreact (= 0.70.3)
- React-jsi (= 0.70.3)
- React-jsiexecutor (= 0.70.3)
- React-perflogger (= 0.70.3)
- React-cxxreact (= 0.70.6)
- React-jsi (= 0.70.6)
- React-jsiexecutor (= 0.70.6)
- React-perflogger (= 0.70.6)
- Yoga
- React-Core/Default (0.70.3):
- React-Core/Default (0.70.6):
- glog
- RCT-Folly (= 2021.07.22.00)
- React-cxxreact (= 0.70.3)
- React-jsi (= 0.70.3)
- React-jsiexecutor (= 0.70.3)
- React-perflogger (= 0.70.3)
- React-cxxreact (= 0.70.6)
- React-jsi (= 0.70.6)
- React-jsiexecutor (= 0.70.6)
- React-perflogger (= 0.70.6)
- Yoga
- React-Core/DevSupport (0.70.3):
- React-Core/DevSupport (0.70.6):
- glog
- RCT-Folly (= 2021.07.22.00)
- React-Core/Default (= 0.70.3)
- React-Core/RCTWebSocket (= 0.70.3)
- React-cxxreact (= 0.70.3)
- React-jsi (= 0.70.3)
- React-jsiexecutor (= 0.70.3)
- React-jsinspector (= 0.70.3)
- React-perflogger (= 0.70.3)
- React-Core/Default (= 0.70.6)
- React-Core/RCTWebSocket (= 0.70.6)
- React-cxxreact (= 0.70.6)
- React-jsi (= 0.70.6)
- React-jsiexecutor (= 0.70.6)
- React-jsinspector (= 0.70.6)
- React-perflogger (= 0.70.6)
- Yoga
- React-Core/RCTActionSheetHeaders (0.70.3):
- React-Core/RCTActionSheetHeaders (0.70.6):
- glog
- RCT-Folly (= 2021.07.22.00)
- React-Core/Default
- React-cxxreact (= 0.70.3)
- React-jsi (= 0.70.3)
- React-jsiexecutor (= 0.70.3)
- React-perflogger (= 0.70.3)
- React-cxxreact (= 0.70.6)
- React-jsi (= 0.70.6)
- React-jsiexecutor (= 0.70.6)
- React-perflogger (= 0.70.6)
- Yoga
- React-Core/RCTAnimationHeaders (0.70.3):
- React-Core/RCTAnimationHeaders (0.70.6):
- glog
- RCT-Folly (= 2021.07.22.00)
- React-Core/Default
- React-cxxreact (= 0.70.3)
- React-jsi (= 0.70.3)
- React-jsiexecutor (= 0.70.3)
- React-perflogger (= 0.70.3)
- React-cxxreact (= 0.70.6)
- React-jsi (= 0.70.6)
- React-jsiexecutor (= 0.70.6)
- React-perflogger (= 0.70.6)
- Yoga
- React-Core/RCTBlobHeaders (0.70.3):
- React-Core/RCTBlobHeaders (0.70.6):
- glog
- RCT-Folly (= 2021.07.22.00)
- React-Core/Default
- React-cxxreact (= 0.70.3)
- React-jsi (= 0.70.3)
- React-jsiexecutor (= 0.70.3)
- React-perflogger (= 0.70.3)
- React-cxxreact (= 0.70.6)
- React-jsi (= 0.70.6)
- React-jsiexecutor (= 0.70.6)
- React-perflogger (= 0.70.6)
- Yoga
- React-Core/RCTImageHeaders (0.70.3):
- React-Core/RCTImageHeaders (0.70.6):
- glog
- RCT-Folly (= 2021.07.22.00)
- React-Core/Default
- React-cxxreact (= 0.70.3)
- React-jsi (= 0.70.3)
- React-jsiexecutor (= 0.70.3)
- React-perflogger (= 0.70.3)
- React-cxxreact (= 0.70.6)
- React-jsi (= 0.70.6)
- React-jsiexecutor (= 0.70.6)
- React-perflogger (= 0.70.6)
- Yoga
- React-Core/RCTLinkingHeaders (0.70.3):
- React-Core/RCTLinkingHeaders (0.70.6):
- glog
- RCT-Folly (= 2021.07.22.00)
- React-Core/Default
- React-cxxreact (= 0.70.3)
- React-jsi (= 0.70.3)
- React-jsiexecutor (= 0.70.3)
- React-perflogger (= 0.70.3)
- React-cxxreact (= 0.70.6)
- React-jsi (= 0.70.6)
- React-jsiexecutor (= 0.70.6)
- React-perflogger (= 0.70.6)
- Yoga
- React-Core/RCTNetworkHeaders (0.70.3):
- React-Core/RCTNetworkHeaders (0.70.6):
- glog
- RCT-Folly (= 2021.07.22.00)
- React-Core/Default
- React-cxxreact (= 0.70.3)
- React-jsi (= 0.70.3)
- React-jsiexecutor (= 0.70.3)
- React-perflogger (= 0.70.3)
- React-cxxreact (= 0.70.6)
- React-jsi (= 0.70.6)
- React-jsiexecutor (= 0.70.6)
- React-perflogger (= 0.70.6)
- Yoga
- React-Core/RCTSettingsHeaders (0.70.3):
- React-Core/RCTSettingsHeaders (0.70.6):
- glog
- RCT-Folly (= 2021.07.22.00)
- React-Core/Default
- React-cxxreact (= 0.70.3)
- React-jsi (= 0.70.3)
- React-jsiexecutor (= 0.70.3)
- React-perflogger (= 0.70.3)
- React-cxxreact (= 0.70.6)
- React-jsi (= 0.70.6)
- React-jsiexecutor (= 0.70.6)
- React-perflogger (= 0.70.6)
- Yoga
- React-Core/RCTTextHeaders (0.70.3):
- React-Core/RCTTextHeaders (0.70.6):
- glog
- RCT-Folly (= 2021.07.22.00)
- React-Core/Default
- React-cxxreact (= 0.70.3)
- React-jsi (= 0.70.3)
- React-jsiexecutor (= 0.70.3)
- React-perflogger (= 0.70.3)
- React-cxxreact (= 0.70.6)
- React-jsi (= 0.70.6)
- React-jsiexecutor (= 0.70.6)
- React-perflogger (= 0.70.6)
- Yoga
- React-Core/RCTVibrationHeaders (0.70.3):
- React-Core/RCTVibrationHeaders (0.70.6):
- glog
- RCT-Folly (= 2021.07.22.00)
- React-Core/Default
- React-cxxreact (= 0.70.3)
- React-jsi (= 0.70.3)
- React-jsiexecutor (= 0.70.3)
- React-perflogger (= 0.70.3)
- React-cxxreact (= 0.70.6)
- React-jsi (= 0.70.6)
- React-jsiexecutor (= 0.70.6)
- React-perflogger (= 0.70.6)
- Yoga
- React-Core/RCTWebSocket (0.70.3):
- React-Core/RCTWebSocket (0.70.6):
- glog
- RCT-Folly (= 2021.07.22.00)
- React-Core/Default (= 0.70.3)
- React-cxxreact (= 0.70.3)
- React-jsi (= 0.70.3)
- React-jsiexecutor (= 0.70.3)
- React-perflogger (= 0.70.3)
- React-Core/Default (= 0.70.6)
- React-cxxreact (= 0.70.6)
- React-jsi (= 0.70.6)
- React-jsiexecutor (= 0.70.6)
- React-perflogger (= 0.70.6)
- Yoga
- React-CoreModules (0.70.3):
- React-CoreModules (0.70.6):
- RCT-Folly (= 2021.07.22.00)
- RCTTypeSafety (= 0.70.3)
- React-Codegen (= 0.70.3)
- React-Core/CoreModulesHeaders (= 0.70.3)
- React-jsi (= 0.70.3)
- React-RCTImage (= 0.70.3)
- ReactCommon/turbomodule/core (= 0.70.3)
- React-cxxreact (0.70.3):
- RCTTypeSafety (= 0.70.6)
- React-Codegen (= 0.70.6)
- React-Core/CoreModulesHeaders (= 0.70.6)
- React-jsi (= 0.70.6)
- React-RCTImage (= 0.70.6)
- ReactCommon/turbomodule/core (= 0.70.6)
- React-cxxreact (0.70.6):
- boost (= 1.76.0)
- DoubleConversion
- glog
- RCT-Folly (= 2021.07.22.00)
- React-callinvoker (= 0.70.3)
- React-jsi (= 0.70.3)
- React-jsinspector (= 0.70.3)
- React-logger (= 0.70.3)
- React-perflogger (= 0.70.3)
- React-runtimeexecutor (= 0.70.3)
- React-hermes (0.70.3):
- React-callinvoker (= 0.70.6)
- React-jsi (= 0.70.6)
- React-jsinspector (= 0.70.6)
- React-logger (= 0.70.6)
- React-perflogger (= 0.70.6)
- React-runtimeexecutor (= 0.70.6)
- React-hermes (0.70.6):
- DoubleConversion
- glog
- hermes-engine
- RCT-Folly (= 2021.07.22.00)
- RCT-Folly/Futures (= 2021.07.22.00)
- React-cxxreact (= 0.70.3)
- React-jsi (= 0.70.3)
- React-jsiexecutor (= 0.70.3)
- React-jsinspector (= 0.70.3)
- React-perflogger (= 0.70.3)
- React-jsi (0.70.3):
- React-cxxreact (= 0.70.6)
- React-jsi (= 0.70.6)
- React-jsiexecutor (= 0.70.6)
- React-jsinspector (= 0.70.6)
- React-perflogger (= 0.70.6)
- React-jsi (0.70.6):
- boost (= 1.76.0)
- DoubleConversion
- glog
- RCT-Folly (= 2021.07.22.00)
- React-jsi/Default (= 0.70.3)
- React-jsi/Default (0.70.3):
- React-jsi/Default (= 0.70.6)
- React-jsi/Default (0.70.6):
- boost (= 1.76.0)
- DoubleConversion
- glog
- RCT-Folly (= 2021.07.22.00)
- React-jsiexecutor (0.70.3):
- React-jsiexecutor (0.70.6):
- DoubleConversion
- glog
- RCT-Folly (= 2021.07.22.00)
- React-cxxreact (= 0.70.3)
- React-jsi (= 0.70.3)
- React-perflogger (= 0.70.3)
- React-jsinspector (0.70.3)
- React-logger (0.70.3):
- React-cxxreact (= 0.70.6)
- React-jsi (= 0.70.6)
- React-perflogger (= 0.70.6)
- React-jsinspector (0.70.6)
- React-logger (0.70.6):
- glog
- react-native-safe-area-context (4.4.1):
- RCT-Folly
@@ -308,75 +308,75 @@ PODS:
- RCTTypeSafety
- React-Core
- ReactCommon/turbomodule/core
- React-perflogger (0.70.3)
- React-RCTActionSheet (0.70.3):
- React-Core/RCTActionSheetHeaders (= 0.70.3)
- React-RCTAnimation (0.70.3):
- React-perflogger (0.70.6)
- React-RCTActionSheet (0.70.6):
- React-Core/RCTActionSheetHeaders (= 0.70.6)
- React-RCTAnimation (0.70.6):
- RCT-Folly (= 2021.07.22.00)
- RCTTypeSafety (= 0.70.3)
- React-Codegen (= 0.70.3)
- React-Core/RCTAnimationHeaders (= 0.70.3)
- React-jsi (= 0.70.3)
- ReactCommon/turbomodule/core (= 0.70.3)
- React-RCTBlob (0.70.3):
- RCTTypeSafety (= 0.70.6)
- React-Codegen (= 0.70.6)
- React-Core/RCTAnimationHeaders (= 0.70.6)
- React-jsi (= 0.70.6)
- ReactCommon/turbomodule/core (= 0.70.6)
- React-RCTBlob (0.70.6):
- RCT-Folly (= 2021.07.22.00)
- React-Codegen (= 0.70.3)
- React-Core/RCTBlobHeaders (= 0.70.3)
- React-Core/RCTWebSocket (= 0.70.3)
- React-jsi (= 0.70.3)
- React-RCTNetwork (= 0.70.3)
- ReactCommon/turbomodule/core (= 0.70.3)
- React-RCTImage (0.70.3):
- React-Codegen (= 0.70.6)
- React-Core/RCTBlobHeaders (= 0.70.6)
- React-Core/RCTWebSocket (= 0.70.6)
- React-jsi (= 0.70.6)
- React-RCTNetwork (= 0.70.6)
- ReactCommon/turbomodule/core (= 0.70.6)
- React-RCTImage (0.70.6):
- RCT-Folly (= 2021.07.22.00)
- RCTTypeSafety (= 0.70.3)
- React-Codegen (= 0.70.3)
- React-Core/RCTImageHeaders (= 0.70.3)
- React-jsi (= 0.70.3)
- React-RCTNetwork (= 0.70.3)
- ReactCommon/turbomodule/core (= 0.70.3)
- React-RCTLinking (0.70.3):
- React-Codegen (= 0.70.3)
- React-Core/RCTLinkingHeaders (= 0.70.3)
- React-jsi (= 0.70.3)
- ReactCommon/turbomodule/core (= 0.70.3)
- React-RCTNetwork (0.70.3):
- RCTTypeSafety (= 0.70.6)
- React-Codegen (= 0.70.6)
- React-Core/RCTImageHeaders (= 0.70.6)
- React-jsi (= 0.70.6)
- React-RCTNetwork (= 0.70.6)
- ReactCommon/turbomodule/core (= 0.70.6)
- React-RCTLinking (0.70.6):
- React-Codegen (= 0.70.6)
- React-Core/RCTLinkingHeaders (= 0.70.6)
- React-jsi (= 0.70.6)
- ReactCommon/turbomodule/core (= 0.70.6)
- React-RCTNetwork (0.70.6):
- RCT-Folly (= 2021.07.22.00)
- RCTTypeSafety (= 0.70.3)
- React-Codegen (= 0.70.3)
- React-Core/RCTNetworkHeaders (= 0.70.3)
- React-jsi (= 0.70.3)
- ReactCommon/turbomodule/core (= 0.70.3)
- React-RCTSettings (0.70.3):
- RCTTypeSafety (= 0.70.6)
- React-Codegen (= 0.70.6)
- React-Core/RCTNetworkHeaders (= 0.70.6)
- React-jsi (= 0.70.6)
- ReactCommon/turbomodule/core (= 0.70.6)
- React-RCTSettings (0.70.6):
- RCT-Folly (= 2021.07.22.00)
- RCTTypeSafety (= 0.70.3)
- React-Codegen (= 0.70.3)
- React-Core/RCTSettingsHeaders (= 0.70.3)
- React-jsi (= 0.70.3)
- ReactCommon/turbomodule/core (= 0.70.3)
- React-RCTText (0.70.3):
- React-Core/RCTTextHeaders (= 0.70.3)
- React-RCTVibration (0.70.3):
- RCTTypeSafety (= 0.70.6)
- React-Codegen (= 0.70.6)
- React-Core/RCTSettingsHeaders (= 0.70.6)
- React-jsi (= 0.70.6)
- ReactCommon/turbomodule/core (= 0.70.6)
- React-RCTText (0.70.6):
- React-Core/RCTTextHeaders (= 0.70.6)
- React-RCTVibration (0.70.6):
- RCT-Folly (= 2021.07.22.00)
- React-Codegen (= 0.70.3)
- React-Core/RCTVibrationHeaders (= 0.70.3)
- React-jsi (= 0.70.3)
- ReactCommon/turbomodule/core (= 0.70.3)
- React-runtimeexecutor (0.70.3):
- React-jsi (= 0.70.3)
- ReactCommon/turbomodule/core (0.70.3):
- React-Codegen (= 0.70.6)
- React-Core/RCTVibrationHeaders (= 0.70.6)
- React-jsi (= 0.70.6)
- ReactCommon/turbomodule/core (= 0.70.6)
- React-runtimeexecutor (0.70.6):
- React-jsi (= 0.70.6)
- ReactCommon/turbomodule/core (0.70.6):
- DoubleConversion
- glog
- RCT-Folly (= 2021.07.22.00)
- React-bridging (= 0.70.3)
- React-callinvoker (= 0.70.3)
- React-Core (= 0.70.3)
- React-cxxreact (= 0.70.3)
- React-jsi (= 0.70.3)
- React-logger (= 0.70.3)
- React-perflogger (= 0.70.3)
- React-bridging (= 0.70.6)
- React-callinvoker (= 0.70.6)
- React-Core (= 0.70.6)
- React-cxxreact (= 0.70.6)
- React-jsi (= 0.70.6)
- React-logger (= 0.70.6)
- React-perflogger (= 0.70.6)
- RNCAsyncStorage (1.12.1):
- React-Core
- RNGestureHandler (2.7.1):
- RNGestureHandler (2.8.0):
- React-Core
- RNKeychain (8.1.1):
- React-Core
@@ -566,8 +566,8 @@ SPEC CHECKSUMS:
boost: a7c83b31436843459a1961bfd74b96033dc77234
CocoaAsyncSocket: 065fd1e645c7abab64f7a6a2007a48038fdc6a99
DoubleConversion: 5189b271737e1565bdce30deb4a08d647e3f5f54
FBLazyVector: 3b313c3fb52b597f7a9b430798e6367d2b9f07e5
FBReactNativeSpec: 99a7ecb7e9665d96f2fea706b0844e2f3117f381
FBLazyVector: 48289402952f4f7a4e235de70a9a590aa0b79ef4
FBReactNativeSpec: dd1186fd05255e3457baa2f4ca65e94c2cd1e3ac
Flipper: 26fc4b7382499f1281eb8cb921e5c3ad6de91fe0
Flipper-Boost-iOSX: fd1e2b8cbef7e662a122412d7ac5f5bea715403c
Flipper-DoubleConversion: 2dc99b02f658daf147069aad9dbd29d8feb06d30
@@ -579,45 +579,45 @@ SPEC CHECKSUMS:
FlipperKit: cbdee19bdd4e7f05472a66ce290f1b729ba3cb86
fmt: ff9d55029c625d3757ed641535fd4a75fedc7ce9
glog: 04b94705f318337d7ead9e6d17c019bd9b1f6b1b
hermes-engine: f9312a2ea8036d03b63568ebf392314f4fa8b474
hermes-engine: 2af7b7a59128f250adfd86f15aa1d5a2ecd39995
libevent: 4049cae6c81cdb3654a443be001fb9bdceff7913
OpenSSL-Universal: ebc357f1e6bc71fa463ccb2fe676756aff50e88c
RCT-Folly: 0080d0a6ebf2577475bda044aa59e2ca1f909cda
RCTRequired: 5cf7e7d2f12699724b59f90350257a422eaa9492
RCTTypeSafety: 3f3ead9673d1ab8bb1aea85b0894ab3220f8f06e
React: 30a333798d1fcf595e8a4108bbaa0f125a655f4a
React-bridging: 92396c03ab446756ddfb7a8e2baff3bcf19eec7d
React-callinvoker: bb66a41b41fa0b7c5f3cc626693a63c9ea0d6252
React-Codegen: a2a944a9688fae870be0a2ecdca37284034b25c2
React-Core: a689b4d1bd13e15915a05c9918c2b01df96cd811
React-CoreModules: d262214db6b704b042bc5c0735b06c346a371d7f
React-cxxreact: 81d5bf256313bf96cb925eb0e654103291161a17
React-hermes: 1c35cbfbdc7a888c3a1aa05e6d0ca004d92c923c
React-jsi: 7f99dc3055bec9a0eeb4230f8b6ac873514c8421
React-jsiexecutor: 7e2e1772ef7b97168c880eeaf3749d8c145ffd6e
React-jsinspector: 0553c9fe7218e1f127be070bd5a4d2fc19fb8190
React-logger: cffcc09e8aba8a3014be8d18da7f922802e9f19e
RCTRequired: e1866f61af7049eb3d8e08e8b133abd38bc1ca7a
RCTTypeSafety: 27c2ac1b00609a432ced1ae701247593f07f901e
React: bb3e06418d2cc48a84f9666a576c7b38e89cd7db
React-bridging: 572502ec59c9de30309afdc4932e278214288913
React-callinvoker: 6b708b79c69f3359d42f1abb4663f620dbd4dadf
React-Codegen: 74e1cd7cee692a8b983c18df3274b5e749de07c8
React-Core: b587d0a624f9611b0e032505f3d6f25e8daa2bee
React-CoreModules: c6ff48b985e7aa622e82ca51c2c353c7803eb04e
React-cxxreact: ade3d9e63c599afdead3c35f8a8bd12b3da6730b
React-hermes: ed09ae33512bbb8d31b2411778f3af1a2eb681a1
React-jsi: 5a3952e0c6d57460ad9ee2c905025b4c28f71087
React-jsiexecutor: b4a65947391c658450151275aa406f2b8263178f
React-jsinspector: 60769e5a0a6d4b32294a2456077f59d0266f9a8b
React-logger: 1623c216abaa88974afce404dc8f479406bbc3a0
react-native-safe-area-context: 99b24a0c5acd0d5dcac2b1a7f18c49ea317be99a
React-perflogger: 082b4293f0b3914ff41da35a6c06ac4490fcbcc8
React-RCTActionSheet: 83da3030deb5dea54b398129f56540a44e64d3ae
React-RCTAnimation: bac3a4f4c0436554d9f7fbb1352a0cdcb1fb0f1c
React-RCTBlob: d2c8830ac6b4d55d5624469829fe6d0ef1d534d1
React-RCTImage: 26ad032b09f90ae5d2283ec19f0c455c444c8189
React-RCTLinking: 4a8d16586df11fff515a6c52ff51a02c47a20499
React-RCTNetwork: 843fc75a70f0b5760de0bf59468585f41209bcf0
React-RCTSettings: 54e59255f94462951b45f84c3f81aedc27cf8615
React-RCTText: c32e2a60827bd232b2bc95941b9926ccf1c2be4c
React-RCTVibration: b9a58ffdd18446f43d493a4b0ecd603ee86be847
React-runtimeexecutor: e9b1f9310158a1e265bcdfdfd8c62d6174b947a2
ReactCommon: 01064177e66d652192c661de899b1076da962fd9
React-perflogger: 8c79399b0500a30ee8152d0f9f11beae7fc36595
React-RCTActionSheet: 7316773acabb374642b926c19aef1c115df5c466
React-RCTAnimation: 5341e288375451297057391227f691d9b2326c3d
React-RCTBlob: b0615fc2daf2b5684ade8fadcab659f16f6f0efa
React-RCTImage: 6487b9600f268ecedcaa86114d97954d31ad4750
React-RCTLinking: c8018ae9ebfefcec3839d690d4725f8d15e4e4b3
React-RCTNetwork: 8aa63578741e0fe1205c28d7d4b40dbfdabce8a8
React-RCTSettings: d00c15ad369cd62242a4dfcc6f277912b4a84ed3
React-RCTText: f532e5ca52681ecaecea452b3ad7a5b630f50d75
React-RCTVibration: c75ceef7aa60a33b2d5731ebe5800ddde40cefc4
React-runtimeexecutor: 15437b576139df27635400de0599d9844f1ab817
ReactCommon: 349be31adeecffc7986a0de875d7fb0dcf4e251c
RNCAsyncStorage: b03032fdbdb725bea0bd9e5ec5a7272865ae7398
RNGestureHandler: b7a872907ee289ada902127f2554fa1d2c076122
RNGestureHandler: 62232ba8f562f7dea5ba1b3383494eb5bf97a4d3
RNKeychain: ff836453cba46938e0e9e4c22e43d43fa2c90333
RNScreens: 34cc502acf1b916c582c60003dc3089fa01dc66d
RNVectorIcons: fcc2f6cb32f5735b586e66d14103a74ce6ad61f8
SocketRocket: fccef3f9c5cedea1353a9ef6ada904fde10d6608
TouchID: ba4c656d849cceabc2e4eef722dea5e55959ecf4
Yoga: 2ed968a4f060a92834227c036279f2736de0fce3
Yoga: 99caf8d5ab45e9d637ee6e0174ec16fbbb01bcfc
YogaKit: f782866e155069a2cca2517aafea43200b01fd5a

PODFILE CHECKSUM: 1b974f561b4f45461b3a0f2c067841edea501508


+ 1
- 1
mobile/package.json View File

@@ -1,6 +1,6 @@
{
"name": "lesspass-mobile",
"version": "9.7.3",
"version": "9.7.4",
"description": "LessPass mobile application",
"license": "(MPL-2.0 OR GPL-3.0)",
"author": "Guillaume Vincent <guillaume@oslab.fr>",


BIN
mobile/src/header/logo.dark.png View File

Before After
Width: 1016  |  Height: 230  |  Size: 9.5 KiB Width: 1018  |  Height: 230  |  Size: 26 KiB

+ 10
- 17
mobile/src/password/Counter.js View File

@@ -20,12 +20,12 @@ export default function Counter({
}
}, [value]);
const color = isValid ? theme.colors.primary : theme.colors.error;
const borderColor = isValid ? theme.colors.outline : theme.colors.error;
const borderColor = isValid ? theme.colors.primary : theme.colors.error;
return (
<View {...props}>
<Text
style={{
marginBottom: 6,
marginBottom: 5,
color,
}}
>
@@ -36,7 +36,13 @@ export default function Counter({
flexDirection: "row",
justifyContent: "center",
alignItems: "center",
height: 26,
height:26,
borderWidth:1,
borderColor,
borderRadius:5 * theme.roundness,
backgroundColor: isValid
? theme.colors.primary
: theme.colors.error,
}}
>
<TouchableOpacity
@@ -46,11 +52,6 @@ export default function Counter({
alignSelf: "stretch",
paddingVertical: 6,
paddingHorizontal: 16,
backgroundColor: isValid
? theme.colors.primary
: theme.colors.error,
borderTopLeftRadius: 5 * theme.roundness,
borderBottomLeftRadius: 5 * theme.roundness,
}}
onPress={() => setValue(value - 1)}
>
@@ -67,10 +68,7 @@ export default function Counter({
justifyContent: "center",
alignItems: "center",
borderWidth: 0,
borderTopWidth: 1,
borderTopColor: borderColor,
borderBottomWidth: 1,
borderBottomColor: borderColor,
backgroundColor: theme.colors.background
}}
>
<TextInput
@@ -109,11 +107,6 @@ export default function Counter({
alignSelf: "stretch",
paddingVertical: 6,
paddingHorizontal: 16,
backgroundColor: isValid
? theme.colors.primary
: theme.colors.error,
borderTopRightRadius: 5 * theme.roundness,
borderBottomRightRadius: 5 * theme.roundness,
}}
onPress={() => setValue(value + 1)}
>


+ 8
- 5
mobile/src/password/Options.js View File

@@ -7,7 +7,6 @@ export default function Options({ options, onOptionsChange, style }) {
const [isValid, setIsvalid] = useState(true);
const theme = useTheme();
const color = isValid ? theme.colors.secondary : theme.colors.error;

useEffect(() => {
if (areOptionsValid(options)) {
setIsvalid(true);
@@ -27,10 +26,12 @@ export default function Options({ options, onOptionsChange, style }) {
<View
style={{
flexDirection: "row",
justifyContent: "flex-start",
alignItems: "center",
marginLeft: -5,
}}
>
<Checkbox.Android
<Checkbox
status={options.lowercase ? "checked" : "unchecked"}
onPress={() => {
onOptionsChange({
@@ -46,9 +47,10 @@ export default function Options({ options, onOptionsChange, style }) {
flexDirection: "row",
justifyContent: "center",
alignItems: "center",
marginRight: 5,
}}
>
<Checkbox.Android
<Checkbox
status={options.uppercase ? "checked" : "unchecked"}
onPress={() => {
onOptionsChange({
@@ -64,9 +66,10 @@ export default function Options({ options, onOptionsChange, style }) {
flexDirection: "row",
justifyContent: "center",
alignItems: "center",
marginRight: 5,
}}
>
<Checkbox.Android
<Checkbox
status={options.digits ? "checked" : "unchecked"}
onPress={() => {
onOptionsChange({
@@ -84,7 +87,7 @@ export default function Options({ options, onOptionsChange, style }) {
alignItems: "center",
}}
>
<Checkbox.Android
<Checkbox
status={options.symbols ? "checked" : "unchecked"}
onPress={() => {
onOptionsChange({


+ 95
- 64
mobile/src/password/PasswordGeneratorScreen.js View File

@@ -23,7 +23,7 @@ import {
isCounterValid,
areOptionsValid,
} from "./validations";
import { Button, Snackbar, Text } from "react-native-paper";
import { Button, Snackbar, Text, useTheme } from "react-native-paper";
import { addError, cleanErrors } from "../errors/errorsActions";

function _getInitialState(settings) {
@@ -67,7 +67,7 @@ export default function PasswordGeneratorScreen() {
const [saved, setSaved] = useState(false);
const [updated, setUpdated] = useState(false);
const [state, setState] = useState(() => _getInitialState(settings));
const theme = useTheme();
useEffect(() => {
const newState = _getInitialState(settings);
if (profile === null) {
@@ -128,7 +128,7 @@ export default function PasswordGeneratorScreen() {
/>
<View
style={{
marginTop: 10,
marginTop: 5,
marginBottom: 30,
flexDirection: "row",
justifyContent: "space-between",
@@ -178,89 +178,120 @@ export default function PasswordGeneratorScreen() {
</Button>
<View
style={{
marginTop: 20,
flexDirection: "row",
flexWrap: "wrap",
justifyContent: "space-between",
paddingTop: 10,
}}
>
<Button
mode="outlined"
onPress={() => {
setSaved(false);
setUpdated(false);
setCopied(false);
setSeePassword(false);
dispatch(cleanErrors());
setState(_getInitialState(settings));
dispatch(cleanPasswordProfile());
}}
style={{ marginRight: 10, marginBottom: 10 }}
icon="refresh"
>
CLEAR
</Button>
{state.password && state.copyPasswordAfterGeneration === false && (
<View style={{ flex: 1 }}>
<Button
mode="outlined"
onPress={() => {
NativeModules.LessPassClipboard.copy(state.password);
setCopied(true);
setSaved(false);
setUpdated(false);
setCopied(false);
setSeePassword(false);
dispatch(cleanErrors());
setState(_getInitialState(settings));
dispatch(cleanPasswordProfile());
}}
icon="clipboard"
style={{ marginRight: 10, marginBottom: 10 }}
>
Copy
</Button>
)}
{state.password && (
<Button
mode="outlined"
onPress={() => {
setSeePassword((seePassword) => !seePassword);
style={{
marginBottom: 10,
marginRight: 5,
backgroundColor: theme.colors.background,
}}
icon="eye"
style={{ marginRight: 10, marginBottom: 10 }}
labelStyle={{ fontSize: 12 }}
icon="refresh"
>
{seePassword ? "HIDE" : "SHOW"}
clear
</Button>
)}
{state.password && auth.isAuthenticated ? (
state.id === null ? (
</View>
{state.password && state.copyPasswordAfterGeneration === false && (
<View style={{ flex: 1 }}>
<Button
mode="outlined"
onPress={() => {
const passwordProfile = _getPasswordProfile(state);
dispatch(savePasswordProfile(passwordProfile)).then(
(response) => {
setState((state) => ({ ...state, ...response.data }));
setSaved(true);
}
);
NativeModules.LessPassClipboard.copy(state.password);
setCopied(true);
}}
icon="content-save"
style={{ marginRight: 10, marginBottom: 10 }}
style={{
marginBottom: 10,
marginRight: 5,
backgroundColor: theme.colors.background,
}}
labelStyle={{ fontSize: 12 }}
icon="clipboard"
>
SAVE
copy
</Button>
) : (
</View>
)}
<View style={{ flex: 1 }}>
{state.password && (
<Button
mode="outlined"
onPress={() => {
const passwordProfile = _getPasswordProfile(state);
dispatch(updatePasswordProfile(passwordProfile)).then(
(response) => {
setState((state) => ({ ...state, ...response.data }));
setUpdated(true);
}
);
setSeePassword((seePassword) => !seePassword);
}}
style={{
marginBottom: 10,
marginRight: 5,
backgroundColor: theme.colors.background,
}}
icon="content-save"
style={{ marginRight: 10, marginBottom: 10 }}
labelStyle={{ fontSize: 12 }}
icon="eye"
>
UPDATE
{seePassword ? "hide" : "show"}
</Button>
)
) : null}
)}
</View>
<View style={{ flex: 1 }}>
{state.password && auth.isAuthenticated ? (
state.id === null ? (
<Button
mode="outlined"
onPress={() => {
const passwordProfile = _getPasswordProfile(state);
dispatch(savePasswordProfile(passwordProfile)).then(
(response) => {
setState((state) => ({ ...state, ...response.data }));
setSaved(true);
}
);
}}
style={{
marginBottom: 10,
backgroundColor: theme.colors.background,
}}
labelStyle={{ fontSize: 12 }}
icon="content-save"
>
save
</Button>
) : (
<Button
mode="outlined"
onPress={() => {
const passwordProfile = _getPasswordProfile(state);
dispatch(updatePasswordProfile(passwordProfile)).then(
(response) => {
setState((state) => ({ ...state, ...response.data }));
setUpdated(true);
}
);
}}
style={{
marginBottom: 10,
backgroundColor: theme.colors.background,
}}
labelStyle={{ fontSize: 12 }}
icon="content-save"
>
update
</Button>
)
) : null}
</View>
</View>
{state.password && seePassword && (
<View>


+ 1
- 2
mobile/src/ui/TextInput.js View File

@@ -1,5 +1,4 @@
import React from "react";
import { View } from "react-native";
import { TextInput, useTheme } from "react-native-paper";

export default function Input({ showError = false, errorText, ...props }) {
@@ -11,7 +10,7 @@ export default function Input({ showError = false, errorText, ...props }) {
outlineStyle={{
borderRadius: 5 * theme.roundness,
}}
style={{marginBottom:5}}
style={{ marginBottom: 5 }}
mode="outlined"
{...props}
/>


+ 1
- 1
mobile/src/version.json View File

@@ -1,3 +1,3 @@
{
"version": "9.7.3"
"version": "9.7.4"
}

Loading…
Cancel
Save