From 2509290fdd2b20c76c302d4962216f5d2d2b5a73 Mon Sep 17 00:00:00 2001 From: Ollie Hsieh Date: Mon, 17 Apr 2023 15:41:44 -0700 Subject: Split image cropping into secondary step (#473) * Split image cropping into secondary step * Use ImageModel and GalleryModel * Add fix for pasting image URLs * Move models to state folder * Fix things that broke after rebase * Latest -- has image display bug * Remove contentFit * Fix iOS display in gallery * Tuneup the api signatures and implement compress/resize on web * Fix await * Lint fix and remove unused function * Fix android image pathing * Fix external embed x button on android * Remove min-height from composer (no longer useful and was mispositioning the composer on android) * Fix e2e picker --------- Co-authored-by: Paul Frazee --- src/lib/api/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/api/index.ts') diff --git a/src/lib/api/index.ts b/src/lib/api/index.ts index 457921d69..1b12f29c5 100644 --- a/src/lib/api/index.ts +++ b/src/lib/api/index.ts @@ -10,8 +10,8 @@ import { import {AtUri} from '@atproto/api' import {RootStoreModel} from 'state/models/root-store' import {isNetworkError} from 'lib/strings/errors' +import {Image} from 'lib/media/types' import {LinkMeta} from '../link-meta/link-meta' -import {Image} from '../media/manip' import {isWeb} from 'platform/detection' export interface ExternalEmbedDraft { -- cgit 1.4.1