Skip to content

Commit

Permalink
code optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
zrwusa committed Oct 25, 2022
1 parent b3d28ae commit dd1047d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions src/screens/ColorFinder/styles.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import {StyleSheet} from 'react-native';
import {SizeLabor, ThemeLabor} from '../../types';
import {getSharedStyles} from '../../helpers';

export const makeStyles = (sizeLabor: SizeLabor, themeLabor: ThemeLabor) => {
const {ms, designsBasedOn} = sizeLabor;
const {wp, hp} = designsBasedOn.iphoneX;
const {wp} = designsBasedOn.iphoneX;
const {colors} = themeLabor.theme;
const {sharedStylesFlatten} = getSharedStyles(sizeLabor, themeLabor);

return StyleSheet.create({
container: {
Expand Down

0 comments on commit dd1047d

Please sign in to comment.