Skip to content

Commit

Permalink
remove sync palette
Browse files Browse the repository at this point in the history
  • Loading branch information
kamalkishor1991 committed Sep 22, 2024
1 parent ff62666 commit 22f633e
Show file tree
Hide file tree
Showing 8 changed files with 1,621 additions and 235 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
6 changes: 0 additions & 6 deletions ApplicationRoot.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import ColorListScreen from './screens/ColorListScreen';
import PaletteViewScreen from './screens/PaletteViewScreen.js';
import PaletteEditScreen from './screens/PaletteEditScreen.js';
import ProVersionScreen from './screens/ProVersionScreen';
import SyncPalettesScreen from './screens/SyncPalettesScreen';
import CommonPalettesScreen from './screens/CommonPalettesScreen';
import PaletteLibraryScreen from './screens/PaletteLibraryScreen';
import HamburgerMenu from './components/HamburgerMenu';
Expand Down Expand Up @@ -121,11 +120,6 @@ export default function App() {
options={{ title: t('Pro benefits') }}
component={ProVersionScreen}
/>
<Stack.Screen
name={ROUTE_NAMES.SYNC_PALETTES}
options={{ title: t('Import/Export your palettes') }}
component={SyncPalettesScreen}
/>
<Stack.Screen name="CommonPalettes" component={CommonPalettesScreen} />
<Stack.Screen
name={ROUTE_NAMES.PALETTE_LIBRARY}
Expand Down
13 changes: 0 additions & 13 deletions components/HamburgerMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,19 +120,6 @@ const HamburgerMenu = (props) => {
<Text style={[styles.textAreaMenuItem]}>{t('About us')}</Text>
</View>
</TouchableOpacity>
<TouchableOpacity
style={styles.menuItem}
onPress={async () => {
logEvent('hm_sync_palettes');
navigate('SyncPalettes');
}}>
<View style={styles.menuItemView}>
<View style={styles.menuIcon}>
<MaterialIcons name="import-export" style={styles.icon} />
</View>
<Text style={styles.textAreaMenuItem}>{t('Import/Export palettes')}</Text>
</View>
</TouchableOpacity>
<TouchableOpacity
style={styles.menuItem}
onPress={async () => {
Expand Down
1 change: 0 additions & 1 deletion libs/contants.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ export const ROUTE_NAMES = {
PALETTES: 'Palettes',
SAVE_PALETTE: 'SavePalette',
PRO_VERSION: 'ProVersion',
SYNC_PALETTES: 'SyncPalettes',
PALETTE_LIBRARY: 'PaletteLibrary',
COLOR_LIST: 'ColorList',
USER_PROFILE: 'UserProfile',
Expand Down
2 changes: 0 additions & 2 deletions locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@
"Github sync": "Github sync",
"Import palettes from file.": "Import palettes from file.",
"Import palettes from previously saved file.": "Import palettes from previously saved file.",
"import/export palettes": "import/export palettes",
"Import/Export your palettes": "Import/Export your palettes",
"Join discord": "Join discord",
"library": "library",
"Lightweight web version": "Lightweight web version",
Expand Down
8 changes: 7 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
},
"dependencies": {
"@react-native-async-storage/async-storage": "^2.0.0",
"@react-native-clipboard/clipboard": "^1.14.1",
"@react-native-clipboard/clipboard": "^1.14.2",
"@react-native-google-signin/google-signin": "^12.2.1",
"@react-navigation/bottom-tabs": "^6.6.1",
"@react-navigation/elements": "^1.3.31",
Expand All @@ -26,7 +26,9 @@
"node-libs-react-native": "^1.2.1",
"pigment": "^0.1.0",
"react": "18.3.1",
"react-dom": "^18.3.1",
"react-i18next": "^15.0.1",
"react-is": "^18.3.1",
"react-native": "^0.75.2",
"react-native-animatable": "^1.4.0",
"react-native-app-auth": "^8.0.0",
Expand All @@ -42,17 +44,20 @@
"react-native-iap": "^12.15.2",
"react-native-image-picker": "^7.1.2",
"react-native-linear-gradient": "^2.8.3",
"react-native-macos": "^0.75.4",
"react-native-material-menu": "^2.0.0",
"react-native-reanimated": "^3.15.0",
"react-native-safe-area-context": "^4.10.9",
"react-native-screens": "^3.34.0",
"react-native-share-menu": "^6.0.0",
"react-native-side-menu": "^1.1.3",
"react-native-slider-color-picker": "^2.2.6",
"react-native-svg": "^15.7.1",
"react-native-typography": "^1.4.1",
"react-native-vector-icons": "^10.1.0",
"react-native-view-shot": "^3.8.0",
"react-native-wheel-color-picker": "^1.3.1",
"react-native-windows": "^0.75.3",
"rn-fetch-blob": "^0.12.0",
"styled-components": "^6.1.12",
"tinycolor2": "^1.6.0",
Expand All @@ -71,6 +76,7 @@
"eslint-plugin-react-hooks": "^4.6.2",
"jest": "^29.7.0",
"metro-react-native-babel-preset": "^0.77.0",
"prettier": "^3.3.3",
"react-native-svg-transformer": "^1.5.0",
"react-test-renderer": "18.3.1"
},
Expand Down
181 changes: 0 additions & 181 deletions screens/SyncPalettesScreen.js

This file was deleted.

Loading

0 comments on commit 22f633e

Please sign in to comment.