Skip to content

Commit 594c270

Browse files
committed
Merge branch 'v1.0.5'
2 parents 4d4ec1e + 51a7d35 commit 594c270

File tree

4 files changed

+22
-30
lines changed

4 files changed

+22
-30
lines changed

Components/DeckThemeChoice.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,10 @@ import { iconSVGs, colors, themeSamples } from '../CoreElements/theme'
66

77
export default function DeckThemeChoice({ deck }) {
88
const { appPreferences, setAppPreferences } = useContext(DataContext)
9-
const [ setChosen ] = useState(false)
109

1110
const handleThemeChange = () => {
1211
setAppPreferences({ ...appPreferences, deckTheme: deck })
1312
}
14-
useEffect(() => {
15-
if (appPreferences.deckTheme === deck) setChosen(true)
16-
else setChosen(false)
17-
}, [ appPreferences.deckTheme ])
1813

1914
const styles = StyleSheet.create({
2015
container: {

Components/TableThemeChoice.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,11 @@ import { iconSVGs, colors } from '../CoreElements/theme'
66

77
export default function TableThemeChoice({ id, title }) {
88
const { appPreferences, setAppPreferences } = useContext(DataContext)
9-
const [ chosen, setChosen ] = useState(false)
109

1110
const handleThemeChange = () => {
1211
setAppPreferences({ ...appPreferences, tableTheme: id })
1312
}
1413

15-
useEffect(() => {
16-
if (appPreferences.tableTheme === id) setChosen(true)
17-
else setChosen(false)
18-
}, [ appPreferences.tableTheme ])
19-
2014
const styles = StyleSheet.create({
2115
container: {
2216
alignItems: "center",
@@ -29,6 +23,7 @@ export default function TableThemeChoice({ id, title }) {
2923
width: 250
3024
},
3125
})
26+
3227
return (
3328
<Pressable onPress={ appPreferences.tableTheme !== id ? handleThemeChange : null }>
3429
<View style={ [ styles.container, { flexDirection: "row", justifyContent: "flex-start", alignItems: "center", paddingHorizontal: 20 } ] }>

README.md

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,19 @@ From start to finish, this project took about 17 days. Most of the game logic wa
3838
- expo-status-bar
3939
- expo-store-review
4040

41-
## Version & Build History
41+
## Current Release
4242

43-
### Version 1.0.4 (current)
43+
### Version 1.0.5
4444

45-
#### Builds
45+
- #### Build 1
46+
- fixed an issue causing theme chooser to crash
47+
- fixed versioning/build numbers being out of sync
48+
49+
## Version History
50+
51+
### Version 1.0.2
4652

47-
- 1.0.4 (current)
53+
- #### Build 1.0.4
4854
- Fixed a bug where a card disappeared from your hand stopping play
4955
- Fixed a bug which caused the upTrump card to not reappear subsequent to the first match
5056
- Optimized the method the trumpStack and the upTrump card where loaded and animated to avoid timing bugs
@@ -59,33 +65,29 @@ From start to finish, this project took about 17 days. Most of the game logic wa
5965

6066
### Version 1.0
6167

62-
#### Builds
63-
64-
- 1.0.1
68+
- #### Build 1.0.1
6569
- AppStore Submission
6670

6771
### Version 0.9.0
6872

69-
#### Builds
70-
71-
- 0.9.0
73+
- #### Build 0.9.0
7274
- launch of beta testing through TestFlight
73-
- 0.9.1
75+
- #### Build 0.9.1
7476
- Bug Fixes
75-
- 0.9.2
77+
- #### Build 0.9.2
7678
- Bug Fixes
77-
- 0.9.3
79+
- #### Build 0.9.3
7880
- Bug Fixes
79-
- 0.9.4
81+
- #### Build 0.9.4
8082
- Bug Fixes
81-
- 0.9.5
83+
- #### Build 0.9.5
8284
- Bug Fixes
83-
- 0.9.6rc
85+
- #### Build 0.9.6rc
8486
- Release Candidate
8587

8688
## Planned Future Updates
8789

88-
### v2.0
90+
### Version 2.0
8991

9092
The plan for 2.0 is an online multiplayer experience
9193

app.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"expo": {
33
"name": "Euchre Night",
44
"slug": "euchre",
5-
"version": "1.0.2",
5+
"version": "1.0.5",
66
"orientation": "portrait",
77
"icon": "./assets/icon.png",
88
"splash": {
@@ -17,7 +17,7 @@
1717
"ios": {
1818
"supportsTablet": false,
1919
"bundleIdentifier": "com.sleeptil3software.euchre",
20-
"buildNumber": "1.0.4"
20+
"buildNumber": "1"
2121
},
2222
"android": {
2323
"package": "com.sleeptil3software.euchre"

0 commit comments

Comments
 (0)