Skip to content

Commit a84de83

Browse files
chore: update version to 1.56.0 and fix compatibility issues (#573)
1 parent 4ec4a86 commit a84de83

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

android/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ android {
77
applicationId "com.moimob.drinkable"
88
minSdkVersion rootProject.ext.minSdkVersion
99
targetSdkVersion rootProject.ext.targetSdkVersion
10-
versionCode 15500
11-
versionName "1.55.0"
10+
versionCode 15600
11+
versionName "1.56.0"
1212
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
1313
aaptOptions {
1414
// Files and dirs to omit from the packaged assets dir, modified to accommodate modern web apps.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
• Fix an issue where app does not work on older devices

src/modules/user/backups/backup-drawer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export class BackupDrawer {
5959
.withCocktailInformation()
6060
.withShoppingLists();
6161

62-
const formattedName = this.name.replaceAll(' ', '_');
62+
const formattedName = this.name.replace(/ /g, '_');
6363

6464
await Filesystem.writeFile({
6565
path: `${drinkableBackupsPath}/${formattedName}.json`,

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"emitDecoratorMetadata": true,
99
"experimentalDecorators": true,
1010
"sourceMap": true,
11-
"target": "es2021",
11+
"target": "es6",
1212
"moduleResolution": "node",
1313
"baseUrl": "src",
1414
"allowSyntheticDefaultImports": true,

0 commit comments

Comments
 (0)