Skip to content
This repository has been archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
style: fix credder icon margin and color
Browse files Browse the repository at this point in the history
  • Loading branch information
Muhammad Fajariansyah Ismail authored and Muhammad Fajariansyah Ismail committed Jun 6, 2022
1 parent 8fb887d commit 64770ca
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 8 deletions.
4 changes: 2 additions & 2 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,8 @@ android {
applicationId "org.bettersocial"
minSdkVersion rootProject.ext.minSdkVersion
targetSdkVersion rootProject.ext.targetSdkVersion
versionCode 62
versionName "1.28.1"
versionCode 67
versionName "1.28.7"
}
splits {
abi {
Expand Down
2 changes: 1 addition & 1 deletion src/components/Card/Card.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ Card.propTypes = {
const styles = StyleSheet.create({
credderRating: {
// height: 24,
height: 15,
height: 16,
alignSelf: 'center',
},
link: {
Expand Down
9 changes: 6 additions & 3 deletions src/components/CredderRating/FeedCredderRating.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,14 @@ const styles = StyleSheet.create({
return {
fontSize,
fontFamily: fonts.inter[400],
color: COLORS.gray,
color: COLORS.gray4,
alignSelf: 'center',
textAlign: 'center',
// textAlign: 'center',
marginLeft: 4,
marginTop: (!score || score < 0) ? -1 : 0,
lineHeight: 15,
// marginTop: 0,
marginTop: (!score || score < 0) ? -1.2 : 0,
// backgroundColor: 'red',
}
},
credderRatingContainer: {
Expand Down
2 changes: 1 addition & 1 deletion src/navigations/root-stack.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const RootStact = () => {
await client?.disconnectUser();
};
}, []);
console.log('kurama',profileState)
// console.log('kurama',profileState)
return (
<View
style={{
Expand Down
2 changes: 1 addition & 1 deletion src/screens/NewsScreen/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const Header = ({ image, domain, time, item }) => {
{new Date(time).toLocaleDateString()}
</Text>
<View style={styles.point} />
<FeedCredderRating containerStyle={{ height: 15, alignSelf: 'center' }}
<FeedCredderRating containerStyle={{ height: 16, alignSelf: 'center' }}
score={item?.domain?.credderScore} scoreSize={12}
iconSize={16} />
</View>
Expand Down
1 change: 1 addition & 0 deletions src/utils/theme/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ export const COLORS = {
gray: '#6A6A6A',
gray1: '#C4C4C4',
gray6: '#F2F2F2',
gray4: '#4A4A4A',
greyseries: '#333333',
holytosca: '#00ADB5',
holyTosca: '#00ADB5',
Expand Down

0 comments on commit 64770ca

Please sign in to comment.