Commit 307c9387 authored by Wilko Manger's avatar Wilko Manger

Reorganize and rename subtitle widgets

parent e261d659
......@@ -22,7 +22,7 @@ import 'package:pattle/src/section/main/widgets/chat_name.dart';
import 'package:pattle/src/util/date_format.dart';
import 'chat_avatar.dart';
import 'subtitle.dart';
import 'subtitle/subtitle.dart';
class ChatList extends StatefulWidget {
final List<Chat> chats;
......
......@@ -19,7 +19,7 @@ import 'package:flutter/material.dart';
import 'package:pattle/src/resources/localizations.dart';
import 'package:pattle/src/section/main/widgets/message_state.dart';
import 'subtitle.dart';
import '../subtitle.dart';
class ImageSubtitleContent extends Subtitle {
@override
......
......@@ -18,7 +18,7 @@
import 'package:flutter/material.dart';
import 'package:pattle/src/section/main/widgets/redacted.dart';
import 'subtitle.dart';
import '../subtitle.dart';
class RedactedSubtitleContent extends Subtitle {
@override
......
......@@ -19,7 +19,7 @@ import 'package:flutter/material.dart';
import 'package:matrix_sdk/matrix_sdk.dart';
import 'package:pattle/src/section/main/widgets/message_state.dart';
import 'subtitle.dart';
import '../subtitle.dart';
class TextSubtitleContent extends StatelessWidget {
TextSubtitleContent({Key key}) : super(key: key);
......
......@@ -19,7 +19,7 @@ import 'package:flutter/material.dart';
import 'package:pattle/src/resources/theme.dart';
import 'package:pattle/src/section/main/chat/util/typing_span.dart';
import 'subtitle.dart';
import '../subtitle.dart';
class TypingSubtitleContent extends StatelessWidget {
@override
......
......@@ -25,13 +25,13 @@ import 'package:pattle/src/section/main/chat/widgets/bubble/state/content/upgrad
import 'package:pattle/src/section/main/chats/models/chat.dart';
import 'package:provider/provider.dart';
import '../../../../matrix.dart';
import '../../../../../matrix.dart';
import 'image_subtitle.dart';
import 'redacted_subtitle.dart';
import 'text_subtitle.dart';
import 'typing_subtitle.dart';
import 'unsupported_subtitle.dart';
import 'content/image.dart';
import 'content/redacted.dart';
import 'content/text.dart';
import 'content/typing.dart';
import 'content/unsupported.dart';
class Subtitle 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