mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2024-08-30 18:12:39 +00:00
feat: open a row as a full page (#5111)
* feat: open a row as a full page * chore: don't set latest open view * chore: fix calendar open * chore: disable in relation * chore: code cleanup * chore: fix merge conflicts
This commit is contained in:
@ -49,7 +49,7 @@ void main() {
|
||||
|
||||
assert(appBloc.state.lastCreatedView != null);
|
||||
final latestView = appBloc.state.lastCreatedView!;
|
||||
final _ = DocumentBloc(view: latestView)
|
||||
final _ = DocumentBloc(documentId: latestView.id)
|
||||
..add(const DocumentEvent.initial());
|
||||
|
||||
await FolderEventSetLatestView(ViewIdPB(value: latestView.id)).send();
|
||||
|
@ -192,7 +192,7 @@ void main() {
|
||||
workspaceSetting.latestView.id == viewBloc.state.lastCreatedView!.id;
|
||||
|
||||
// ignore: unused_local_variable
|
||||
final documentBloc = DocumentBloc(view: document)
|
||||
final documentBloc = DocumentBloc(documentId: document.id)
|
||||
..add(
|
||||
const DocumentEvent.initial(),
|
||||
);
|
||||
|
Reference in New Issue
Block a user