浏览代码

Fix a few places with wrong indentation (#578)

pull/579/head
Peter Dave Hello 4 年前
committed by GitHub
父节点
当前提交
071c3934d4
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 3 个文件被更改,包括 9 次插入9 次删除
  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 查看文件

@@ -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 查看文件

@@ -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 查看文件

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


正在加载...
取消
保存