ソースを参照

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 }


読み込み中…
キャンセル
保存