Remove the Compact View

I need to merge it into the StandardView. The more I think about it, the
more this view doesn't make sense. Specially since I need to add the
same extra configuration options in both views.
This commit is contained in:
Vishesh Handa
2020-03-11 13:19:50 +01:00
parent 627427a881
commit d2b6b0eb08
4 changed files with 0 additions and 102 deletions

View File

@ -2,7 +2,6 @@ import 'package:fimber/fimber.dart';
import 'package:flutter/material.dart';
import 'package:gitjournal/core/note.dart';
import 'package:gitjournal/core/notes_folder.dart';
import 'package:gitjournal/folder_views/compact_view.dart';
import 'package:gitjournal/folder_views/journal_view.dart';
import 'package:gitjournal/screens/note_editor.dart';
import 'package:gitjournal/utils.dart';
@ -12,7 +11,6 @@ import 'standard_view.dart';
enum FolderViewType {
Standard,
Journal,
Compact,
}
Widget buildFolderView(
@ -47,12 +45,6 @@ Widget buildFolderView(
noteSelectedFunction: noteSelectionFn,
emptyText: emptyText,
);
case FolderViewType.Compact:
return CompactView(
folder: folder,
noteSelectedFunction: noteSelectionFn,
emptyText: emptyText,
);
}
assert(false, "Code path should never be executed");