瀏覽代碼

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 }


Loading…
取消
儲存