Skip to content
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.

Commit

Permalink
Post rebase fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Boehrsi committed Jun 4, 2020
1 parent 5341906 commit 0da1451
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 1 addition & 1 deletion lib/src/contact/contact_change.dart
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ class _ContactChangeState extends State<ContactChange> {
_navigation.pop(context);
} else {
if (state.contactStateData.id != null) {
Core.Context coreContext = Core.Context();
dcc.Context coreContext = dcc.Context();
var chatId = await coreContext.createChatByContactId(state.contactStateData.id);
chatRepository.putIfAbsent(id: chatId);
_navigation.pushAndRemoveUntil(
Expand Down
4 changes: 1 addition & 3 deletions lib/src/message/message_item_event_state.dart
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@
* for more details.
*/

import 'dart:ui';

import 'package:equatable/equatable.dart';
import 'package:meta/meta.dart';
import 'package:metadata_fetch/metadata_fetch.dart';
Expand Down Expand Up @@ -229,7 +227,7 @@ class MessageStateData extends Equatable {
];
}

class ChatStateData extends Equatable{
class ChatStateData extends Equatable {
final int id;
final String name;

Expand Down
3 changes: 1 addition & 2 deletions lib/src/share/share_bloc.dart
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,8 @@ import 'package:ox_coi/src/contact/contact_list_bloc.dart';
import 'package:ox_coi/src/contact/contact_list_event_state.dart';
import 'package:ox_coi/src/data/contact_repository.dart';
import 'package:ox_coi/src/platform/method_channel.dart';
import 'package:ox_coi/src/platform/preferences.dart';
import 'package:ox_coi/src/share/share_event_state.dart';
import 'package:ox_coi/src/share/incoming_shared_data.dart';
import 'package:ox_coi/src/share/share_event_state.dart';

class ShareBloc extends Bloc<ShareEvent, ShareState> {
ChatListBloc _chatListBloc = ChatListBloc();
Expand Down

0 comments on commit 0da1451

Please sign in to comment.