Skip to content

Commit

Permalink
type changes for new release attempt 1
Browse files Browse the repository at this point in the history
  • Loading branch information
chathurapathiranage committed Oct 6, 2024
1 parent fcdcfc9 commit d79e55a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@komoju/komoju-react-native",
"version": "0.1.0",
"version": "1.0.0",
"description": "degica payment SDK",
"source": "./src/index.tsx",
"main": "./lib/commonjs/index.js",
Expand Down
8 changes: 1 addition & 7 deletions src/components/sections/SheetFooter.tsx
Original file line number Diff line number Diff line change
@@ -1,21 +1,15 @@
import { Image, StyleSheet, View } from "react-native";

import { useTheme } from "../../context/ThemeContext";

import { ThemeModes } from "../../util/constants";

import FirstFooterImage from "../../assets/images/footer_image1.png";
import SecondFooterImage from "../../assets/images/footer_image2.png";
import SecondFooterImageDM from "../../assets/images/footer_image2_dm.png";

import { responsiveScale } from "../../theme/scalling";

const SheetFooter = () => {
const { mode } = useTheme();
return (
<View style={styles.container}>
<Image source={FirstFooterImage} />
<Image source={mode === ThemeModes.dark ? SecondFooterImageDM : SecondFooterImage} />
<Image source={SecondFooterImage} />
</View>
);
};
Expand Down
2 changes: 2 additions & 0 deletions src/context/StateProvider.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
/* eslint-disable @typescript-eslint/ban-ts-comment */
// @ts-nocheck
import { ReactNode, useReducer } from "react";

import { DispatchContext, StateContext, reducer } from "./state";
Expand Down

0 comments on commit d79e55a

Please sign in to comment.