Skip to content

Commit

Permalink
Merge pull request #43 from kendallroth/v-0-4-0
Browse files Browse the repository at this point in the history
v0.4.0
  • Loading branch information
kendallroth committed Mar 10, 2023
2 parents b7ccb2f + 92722fb commit 5897c1a
Show file tree
Hide file tree
Showing 25 changed files with 17 additions and 17 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [0.4.0] - 2023-03-09

### Added
- Select a day to open with app launch
- Page for adding and editing days
Expand Down
6 changes: 3 additions & 3 deletions app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,18 @@ const lightenedPrimaryColor = "#00629E";
* Android - 'versionName'
* iOS - 'CFBundleShortVersionString'
*/
const versionName = "0.3.0";
const versionName = "0.4.0";
/**
* Android build code (must increment with each submitted build)
*/
const androidVersionCode = 4;
const androidVersionCode = 5;
/**
* iOS semantic build code (increment with each submitted build)
*
* NOTE: Different from Android version code in that it may be reset
* with each version change; however, this is deemed confusing!
*/
const iosBuildNumber = 4;
const iosBuildNumber = 5;

/**
* Runtime version associated with build manifest, used when applying OTA updates.
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "my-days",
"description": "Simple mobile app to track time to/from an important date.",
"version": "0.3.0",
"version": "0.4.0",
"main": "index.js",
"keywords": [
"app",
Expand Down
Binary file modified screenshots/android/1-dashboard-light.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/android/2-dashboard-dark.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/android/3-date-selection.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/android/4-date-edit.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/android/5-date-details.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/android/6-settings.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/ios/5_5_screen/1-dashboard-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/ios/5_5_screen/2-dashboard-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/ios/5_5_screen/3-date-selection.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/ios/5_5_screen/4-date-edit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/ios/5_5_screen/5-date-details.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/ios/5_5_screen/6-settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/ios/6_5_screen/1-dashboard-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/ios/6_5_screen/2-dashboard-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/ios/6_5_screen/3-date-selection.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/ios/6_5_screen/4-date-edit.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/ios/6_5_screen/5-date-details.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified screenshots/ios/6_5_screen/6-settings.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/components/days/DayListItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,8 @@ const styles = StyleSheet.create({
},
dayStatsCount: {
fontWeight: "700",
// NOTE: Important with 'adjustFontSizeToFit' on iOS!
lineHeight: undefined,
},
dayStatsIcon: {
fontSize: iconFontSize,
Expand Down
12 changes: 4 additions & 8 deletions src/screens/DayForm/DayFormScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import * as yup from "yup";
import { type BottomSheetRef, IconSelectSheet } from "@components/dialogs";
import { Checkbox, DateTimeInput, TextInput } from "@components/form";
import { DayIcon } from "@components/icons";
import { AppBar, Page, Stack } from "@components/layout";
import { AppBar, Page, Spacer, Stack } from "@components/layout";
import { useAppTheme, useDayActions, useMounted } from "@hooks";
import { type MaterialCommunityIcons } from "@typings/app.types";
import { type DayUnit } from "@typings/day.types";
Expand Down Expand Up @@ -190,13 +190,9 @@ const DayFormScreen = () => {
<Button mode="text" onPress={onIconSelectOpen}>
{iconValue ? t("screens:dayForm.dayIconChange") : t("screens:dayForm.dayIconAdd")}
</Button>
{!!iconValue && (
<IconButton
icon="close"
style={{ margin: 0, marginLeft: "auto" }}
onPress={onIconClear}
/>
)}
{/* NOTE: Need to use 'Spacer' component as 'auto margin' does not work on iOS? */}
<Spacer />
{!!iconValue && <IconButton icon="close" style={{ margin: 0 }} onPress={onIconClear} />}
</Stack>
<TextInput
autoCapitalize="words"
Expand Down
6 changes: 3 additions & 3 deletions src/screens/Home/HomeScreen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -255,9 +255,9 @@ const styles = StyleSheet.create({
},
pageHeaderShape: {
position: "absolute",
bottom: -headerShapeRadius,
height: headerShapeRadius,
width: headerShapeRadius,
bottom: -headerShapeRadius * 2,
height: headerShapeRadius * 2,
width: headerShapeRadius * 2,
},
pageHeaderShapeOverlay: {
...StyleSheet.absoluteFillObject,
Expand Down

0 comments on commit 5897c1a

Please sign in to comment.