Skip to content

Commit

Permalink
web calls
Browse files Browse the repository at this point in the history
  • Loading branch information
danemadsen committed Jun 30, 2024
1 parent fa7dbaf commit 7f5328e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/ui/shared/chat_widgets/chat_field.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import 'dart:io';
import 'dart:async';

import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
import 'package:maid/enumerators/chat_role.dart';
import 'package:maid/enumerators/large_language_model_type.dart';
Expand All @@ -26,7 +25,7 @@ class _ChatFieldState extends State<ChatField> {
@override
void initState() {
super.initState();
if (!kIsWeb && (Platform.isAndroid || Platform.isIOS)) {
if (Platform.isAndroid || Platform.isIOS) {
// For sharing or opening text coming from outside the app while the app is in the memory
_intentDataStreamSubscription =
ReceiveSharingIntent.instance.getMediaStream().listen((value) {
Expand Down

0 comments on commit 7f5328e

Please sign in to comment.