Преглед на файлове

chore: only show email if supabase is enabled

nathan преди 1 година
родител
ревизия
507554a596
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/settings_user_view.dart

+ 1 - 1
frontend/appflowy_flutter/lib/workspace/presentation/settings/widgets/settings_user_view.dart

@@ -51,7 +51,7 @@ class SettingsUserView extends StatelessWidget {
             children: [
               _renderUserNameInput(context),
 
-              if (user.email.isNotEmpty) ...[
+              if (isSupabaseEnabled) ...[
                 const VSpace(20),
                 UserEmailInput(user.email)
               ],