move files around so that it makes more sense
This commit is contained in:
parent
53edc05dc2
commit
09ba4f32fc
|
@ -1,15 +1,15 @@
|
||||||
import 'package:flutter/material.dart';
|
import 'package:flutter/material.dart';
|
||||||
import 'package:provider/provider.dart';
|
import 'package:provider/provider.dart';
|
||||||
|
|
||||||
import '../comment_tree.dart';
|
import '../../comment_tree.dart';
|
||||||
import '../l10n/l10n.dart';
|
import '../../l10n/l10n.dart';
|
||||||
import '../pages/full_post/full_post.dart';
|
import '../../stores/accounts_store.dart';
|
||||||
import '../stores/accounts_store.dart';
|
import '../../util/observer_consumers.dart';
|
||||||
import '../util/observer_consumers.dart';
|
import '../../widgets/bottom_modal.dart';
|
||||||
import 'bottom_modal.dart';
|
import '../../widgets/bottom_safe.dart';
|
||||||
import 'bottom_safe.dart';
|
import '../../widgets/comment/comment.dart';
|
||||||
import 'comment/comment.dart';
|
import 'full_post.dart';
|
||||||
import 'post/full_post_store.dart';
|
import 'full_post_store.dart';
|
||||||
|
|
||||||
class _SortSelection {
|
class _SortSelection {
|
||||||
final IconData icon;
|
final IconData icon;
|
|
@ -15,14 +15,14 @@ import '../../util/icons.dart';
|
||||||
import '../../util/observer_consumers.dart';
|
import '../../util/observer_consumers.dart';
|
||||||
import '../../util/share.dart';
|
import '../../util/share.dart';
|
||||||
import '../../util/unawaited.dart';
|
import '../../util/unawaited.dart';
|
||||||
import '../../widgets/comment_section.dart';
|
|
||||||
import '../../widgets/post/full_post_store.dart';
|
|
||||||
import '../../widgets/post/post.dart';
|
import '../../widgets/post/post.dart';
|
||||||
import '../../widgets/post/post_more_menu.dart';
|
import '../../widgets/post/post_more_menu.dart';
|
||||||
import '../../widgets/post/post_store.dart';
|
import '../../widgets/post/post_store.dart';
|
||||||
import '../../widgets/post/save_post_button.dart';
|
import '../../widgets/post/save_post_button.dart';
|
||||||
import '../../widgets/reveal_after_scroll.dart';
|
import '../../widgets/reveal_after_scroll.dart';
|
||||||
import '../../widgets/write_comment.dart';
|
import '../../widgets/write_comment.dart';
|
||||||
|
import 'comment_section.dart';
|
||||||
|
import 'full_post_store.dart';
|
||||||
|
|
||||||
class FullPostPage extends StatelessWidget {
|
class FullPostPage extends StatelessWidget {
|
||||||
final String? instanceHost;
|
final String? instanceHost;
|
||||||
|
|
|
@ -3,7 +3,7 @@ import 'package:mobx/mobx.dart';
|
||||||
|
|
||||||
import '../../comment_tree.dart';
|
import '../../comment_tree.dart';
|
||||||
import '../../util/async_store.dart';
|
import '../../util/async_store.dart';
|
||||||
import 'post_store.dart';
|
import '../../widgets/post/post_store.dart';
|
||||||
|
|
||||||
part 'full_post_store.g.dart';
|
part 'full_post_store.g.dart';
|
||||||
|
|
|
@ -7,12 +7,12 @@ import 'package:url_launcher/url_launcher.dart' as ul;
|
||||||
|
|
||||||
import '../../hooks/logged_in_action.dart';
|
import '../../hooks/logged_in_action.dart';
|
||||||
import '../../pages/create_post.dart';
|
import '../../pages/create_post.dart';
|
||||||
|
import '../../pages/full_post/full_post_store.dart';
|
||||||
import '../../stores/accounts_store.dart';
|
import '../../stores/accounts_store.dart';
|
||||||
import '../../util/icons.dart';
|
import '../../util/icons.dart';
|
||||||
import '../../util/observer_consumers.dart';
|
import '../../util/observer_consumers.dart';
|
||||||
import '../bottom_modal.dart';
|
import '../bottom_modal.dart';
|
||||||
import '../info_table_popup.dart';
|
import '../info_table_popup.dart';
|
||||||
import 'full_post_store.dart';
|
|
||||||
import 'post_store.dart';
|
import 'post_store.dart';
|
||||||
|
|
||||||
class PostMoreMenuButton extends StatelessWidget {
|
class PostMoreMenuButton extends StatelessWidget {
|
||||||
|
|
|
@ -72,6 +72,7 @@ abstract class _PostStore with Store {
|
||||||
}
|
}
|
||||||
|
|
||||||
@action
|
@action
|
||||||
|
// ignore: use_setters_to_change_properties
|
||||||
void updatePostView(PostView postView) {
|
void updatePostView(PostView postView) {
|
||||||
this.postView = postView;
|
this.postView = postView;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue