Skip to content

[Bug]: error as soon as dark mode is selected #1037

@andreamoro

Description

@andreamoro

What happened?

A bug happened!

Just downloaded beta 2.5.1, installed fresh on a new mobile and got the following

type 'Null' is not a subtype of type 'FileSystemDirectory' in type cast
#0 GeneralDirectoryFileSystem.getRootDirectory. (package:lw_file_system/src/api/base/directory.dart:17)

#1 KeyDirectoryFileSystem.getKeys (package:lw_file_system/src/api/base/key.dart:162)

#2 GeneralKeyFileSystem.listFiles (package:lw_file_system/src/api/base/key.dart:38)

#3 StreamExtensions.firstOrNull. (package:async/src/stream_extensions.dart:50)

#4 GeneralKeyFileSystem.getDefaultFile (package:lw_file_system/src/api/base/key.dart:7)

#5 _ProjectPageState._load (package:butterfly/views/main.dart:130)

Version

2.5

Platform

Android

Relevant log output

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

📕 Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions