A couple more android updates

zio/stable
Paul Frazee 2022-12-19 19:43:28 -06:00
parent 19d5496bfc
commit 0401dfc5d3
3 changed files with 7 additions and 2 deletions

View File

@ -1,11 +1,13 @@
import {autorun} from 'mobx' import {autorun} from 'mobx'
import {Platform} from 'react-native'
import {sessionClient as AtpApi} from '../third-party/api' import {sessionClient as AtpApi} from '../third-party/api'
import type {SessionServiceClient} from '../third-party/api/src/index' import type {SessionServiceClient} from '../third-party/api/src/index'
import {RootStoreModel} from './models/root-store' import {RootStoreModel} from './models/root-store'
import * as libapi from './lib/api' import * as libapi from './lib/api'
import * as storage from './lib/storage' 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 STAGING_SERVICE = 'https://pds.staging.bsky.dev'
export const PROD_SERVICE = 'https://bsky.social' export const PROD_SERVICE = 'https://bsky.social'
export const DEFAULT_SERVICE = PROD_SERVICE export const DEFAULT_SERVICE = PROD_SERVICE

View File

@ -166,7 +166,7 @@ export const FeedItem = observer(function FeedItem({
style={styles.metaItem} style={styles.metaItem}
href={authors[0].href} href={authors[0].href}
title={`@${authors[0].handle}`}> title={`@${authors[0].handle}`}>
<Text style={[s.f15, s.bold]}> <Text style={[s.f15, s.bold, s.black]}>
{authors[0].displayName || authors[0].handle} {authors[0].displayName || authors[0].handle}
</Text> </Text>
</Link> </Link>
@ -265,9 +265,11 @@ const styles = StyleSheet.create({
}, },
metaItem: { metaItem: {
paddingRight: 3, paddingRight: 3,
color: colors.black,
}, },
postText: { postText: {
paddingBottom: 5, paddingBottom: 5,
color: colors.black,
}, },
addedContainer: { addedContainer: {

View File

@ -229,6 +229,7 @@ const styles = StyleSheet.create({
fontFamily: 'System', fontFamily: 'System',
fontSize: 16, fontSize: 16,
lineHeight: 20.8, // 1.3 of 16px lineHeight: 20.8, // 1.3 of 16px
color: colors.black,
}, },
replyLine: { replyLine: {
position: 'absolute', position: 'absolute',