Browse Source

Fix a few places with wrong indentation (#578)

pull/579/head
Peter Dave Hello 4 years ago
committed by GitHub
parent
commit
071c3934d4
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 9 deletions
  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 View File

@@ -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 View File

@@ -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 View File

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


Loading…
Cancel
Save