Commit 5110aa32 authored by Wilko Manger's avatar Wilko Manger

Move Chat to same directory as the other models

parent 46615f15
......@@ -32,7 +32,7 @@ import 'resources/theme.dart';
import 'section/main/chat/page.dart';
import 'section/main/chat/image/page.dart';
import 'section/main/chat/settings/page.dart';
import 'section/main/chats/models/chat.dart';
import 'section/main/models/chat.dart';
import 'section/main/chats/page.dart';
import 'section/main/chats/create/group/details_page.dart';
import 'section/main/chats/create/group/members_page.dart';
......
......@@ -25,7 +25,7 @@ import 'package:meta/meta.dart';
import 'package:bloc/bloc.dart';
import 'package:matrix_sdk/matrix_sdk.dart';
import '../section/main/chats/models/chat.dart';
import '../section/main/models/chat.dart';
import '../section/main/models/chat_member.dart';
import '../auth/bloc.dart';
......
......@@ -23,7 +23,7 @@ import 'package:matrix_sdk/matrix_sdk.dart';
import 'package:photo_view/photo_view.dart';
import 'package:photo_view/photo_view_gallery.dart';
import '../../chats/models/chat.dart';
import '../../models/chat.dart';
import '../../models/chat_member.dart';
import '../../models/chat_message.dart';
......
......@@ -26,7 +26,7 @@ import '../../../app.dart';
import '../../../resources/intl/localizations.dart';
import '../../../resources/theme.dart';
import '../chats/models/chat.dart';
import '../models/chat.dart';
import '../chats/widgets/typing_content.dart';
import '../widgets/chat_name.dart';
import '../widgets/error.dart';
......
......@@ -27,7 +27,7 @@ import '../../../../resources/theme.dart';
import '../../widgets/chat_name.dart';
import '../../widgets/chat_member_tile.dart';
import '../../chats/models/chat.dart';
import '../../models/chat.dart';
import '../../models/chat_member.dart';
import '../../../../matrix.dart';
......
......@@ -20,7 +20,7 @@ import 'package:matrix_sdk/matrix_sdk.dart';
import 'package:provider/provider.dart';
import '../../../../chats/models/chat.dart';
import '../../../../models/chat.dart';
import '../../../../models/chat_member.dart';
import '../../../../models/chat_message.dart';
......
......@@ -18,7 +18,7 @@
import 'package:bloc/bloc.dart';
import 'package:matrix_sdk/matrix_sdk.dart';
import 'models/chat.dart';
import '../models/chat.dart';
import '../models/chat_member.dart';
import '../models/chat_message.dart';
......
import 'package:meta/meta.dart';
import 'package:equatable/equatable.dart';
import 'models/chat.dart';
import '../models/chat.dart';
abstract class ChatsState extends Equatable {
@override
......
......@@ -20,7 +20,7 @@ import 'package:flutter/material.dart';
import 'package:transparent_image/transparent_image.dart';
import '../../../../resources/theme.dart';
import '../models/chat.dart';
import '../../models/chat.dart';
import '../../../../util/chat_member.dart';
import '../../../../util/url.dart';
......
......@@ -18,7 +18,7 @@
import 'package:flutter/material.dart';
import '../../../../app.dart';
import '../models/chat.dart';
import '../../models/chat.dart';
import '../../widgets/chat_name.dart';
import '../../../../util/date_format.dart';
......
......@@ -20,7 +20,7 @@ import 'package:matrix_sdk/matrix_sdk.dart';
import 'package:provider/provider.dart';
import '../../../../../resources/theme.dart';
import '../../models/chat.dart';
import '../../../models/chat.dart';
import '../../../../../matrix.dart';
......
......@@ -20,7 +20,7 @@ import 'package:matrix_sdk/matrix_sdk.dart';
import '../../../../resources/intl/localizations.dart';
import '../../../../resources/theme.dart';
import '../models/chat.dart';
import '../../models/chat.dart';
class TypingContent extends StatelessWidget {
final Chat chat;
......
......@@ -18,8 +18,8 @@
import 'package:matrix_sdk/matrix_sdk.dart';
import 'package:meta/meta.dart';
import '../../models/chat_member.dart';
import '../../models/chat_message.dart';
import 'chat_member.dart';
import 'chat_message.dart';
/// Chat overview used in the 'chats' page.
class Chat {
......
......@@ -19,7 +19,7 @@ import 'package:flutter/material.dart';
import 'package:meta/meta.dart';
import '../../../resources/intl/localizations.dart';
import '../chats/models/chat.dart';
import '../models/chat.dart';
class ChatName extends StatelessWidget {
final Chat chat;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment