Skip to content

Commit e6be173

Browse files
committed
fix: flutter analyze
1 parent 57672cd commit e6be173

File tree

3 files changed

+2
-8
lines changed

3 files changed

+2
-8
lines changed

frontend/appflowy_flutter/integration_test/desktop/document/document_create_and_delete_test.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ void main() {
1313
await tester.initializeAppFlowy();
1414

1515
await tester.tapAnonymousSignInButton();
16+
final finder = find.text(gettingStarted, findRichText: true);
17+
await tester.pumpUntilFound(finder, timeout: const Duration(seconds: 2));
1618

1719
// create a new document
1820
const pageName = 'Test Document';

frontend/appflowy_flutter/lib/mobile/presentation/home/mobile_home_setting_page.dart

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,6 @@ class _MobileHomeSettingPageState extends State<MobileHomeSettingPage> {
7171
}
7272

7373
Widget _buildSettingsWidget(UserProfilePB userProfile) {
74-
// show the third-party sign in buttons if user logged in with local session and auth is enabled.
75-
76-
final isLocalAuthEnabled =
77-
userProfile.authenticator == AuthenticatorPB.Local && isAuthEnabled;
78-
'';
79-
8074
return BlocProvider(
8175
create: (context) => UserWorkspaceBloc(userProfile: userProfile)
8276
..add(const UserWorkspaceEvent.initial()),

frontend/appflowy_flutter/lib/user/presentation/screens/sign_in_screen/mobile_sign_in_screen.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ class MobileSignInScreen extends StatelessWidget {
2222

2323
@override
2424
Widget build(BuildContext context) {
25-
const double spacing = 16;
26-
2725
return BlocBuilder<SignInBloc, SignInState>(
2826
builder: (context, state) {
2927
final theme = AppFlowyTheme.of(context);

0 commit comments

Comments
 (0)