Parcourir la source

Fix a few places with wrong indentation (#578)

pull/579/head
Peter Dave Hello il y a 4 ans
committed by GitHub
Parent
révision
071c3934d4
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: 4AEE18F83AFDEB23
3 fichiers modifiés avec 9 ajouts et 9 suppressions
  1. +1
    -1
      containers/backend/api/admin.py
  2. +7
    -7
      mobile/android/app/src/main/java/com/lesspass/android/MainApplication.java
  3. +1
    -1
      packages/lesspass-pure/src/views/Register.vue

+ 1
- 1
containers/backend/api/admin.py Voir le fichier

@@ -57,7 +57,7 @@ class LessPassUserAdmin(BaseUserAdmin):
(None, {
'classes': ('wide',),
'fields': ('email', 'password1', 'password2')}
),
),
)
search_fields = ('email',)
ordering = ('email',)


+ 7
- 7
mobile/android/app/src/main/java/com/lesspass/android/MainApplication.java Voir le fichier

@@ -47,18 +47,18 @@ public class MainApplication extends Application implements ReactApplication {
}

/**
* Loads Flipper in React Native templates. Call this in the onCreate method with something like
* initializeFlipper(this, getReactNativeHost().getReactInstanceManager());
*
* @param context
* @param reactInstanceManager
*/
* Loads Flipper in React Native templates. Call this in the onCreate method with something like
* initializeFlipper(this, getReactNativeHost().getReactInstanceManager());
*
* @param context
* @param reactInstanceManager
*/
private static void initializeFlipper(
Context context, ReactInstanceManager reactInstanceManager) {
if (BuildConfig.DEBUG) {
try {
/*
We use reflection here to pick up the class that initializes Flipper,
We use reflection here to pick up the class that initializes Flipper,
since Flipper library is not available in release mode
*/
Class<?> aClass = Class.forName("com.lesspass.android.ReactNativeFlipper");


+ 1
- 1
packages/lesspass-pure/src/views/Register.vue Voir le fichier

@@ -102,7 +102,7 @@ export default {
)
.then(() => {
message.success(
this.$t(
this.$t(
"WelcomeRegister",
"Welcome {email}, thank you for signing up.",
{ email: this.email }


Chargement…
Annuler
Enregistrer