From 0401dfc5d3d0f40529aab75aeaacdb3633522f59 Mon Sep 17 00:00:00 2001 From: Paul Frazee Date: Mon, 19 Dec 2022 19:43:28 -0600 Subject: [PATCH] A couple more android updates --- src/state/index.ts | 4 +++- src/view/com/notifications/FeedItem.tsx | 4 +++- src/view/com/post/Post.tsx | 1 + 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/state/index.ts b/src/state/index.ts index 739742d4..9634e1d2 100644 --- a/src/state/index.ts +++ b/src/state/index.ts @@ -1,11 +1,13 @@ import {autorun} from 'mobx' +import {Platform} from 'react-native' import {sessionClient as AtpApi} from '../third-party/api' import type {SessionServiceClient} from '../third-party/api/src/index' import {RootStoreModel} from './models/root-store' import * as libapi from './lib/api' import * as storage from './lib/storage' -export const LOCAL_DEV_SERVICE = 'http://localhost:2583' +export const LOCAL_DEV_SERVICE = + Platform.OS === 'ios' ? 'http://localhost:2583' : 'http://10.0.2.2:2583' export const STAGING_SERVICE = 'https://pds.staging.bsky.dev' export const PROD_SERVICE = 'https://bsky.social' export const DEFAULT_SERVICE = PROD_SERVICE diff --git a/src/view/com/notifications/FeedItem.tsx b/src/view/com/notifications/FeedItem.tsx index e504ff39..c71bf969 100644 --- a/src/view/com/notifications/FeedItem.tsx +++ b/src/view/com/notifications/FeedItem.tsx @@ -166,7 +166,7 @@ export const FeedItem = observer(function FeedItem({ style={styles.metaItem} href={authors[0].href} title={`@${authors[0].handle}`}> - + {authors[0].displayName || authors[0].handle} @@ -265,9 +265,11 @@ const styles = StyleSheet.create({ }, metaItem: { paddingRight: 3, + color: colors.black, }, postText: { paddingBottom: 5, + color: colors.black, }, addedContainer: { diff --git a/src/view/com/post/Post.tsx b/src/view/com/post/Post.tsx index a2911162..fd23d6d4 100644 --- a/src/view/com/post/Post.tsx +++ b/src/view/com/post/Post.tsx @@ -229,6 +229,7 @@ const styles = StyleSheet.create({ fontFamily: 'System', fontSize: 16, lineHeight: 20.8, // 1.3 of 16px + color: colors.black, }, replyLine: { position: 'absolute',