Skip to content
This repository has been archived by the owner on Apr 14, 2022. It is now read-only.

Commit

Permalink
chore: release 1.2.5
Browse files Browse the repository at this point in the history
  • Loading branch information
inyono committed Jun 5, 2019
1 parent c985b17 commit e8a884a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@serlo/serlo-abc",
"version": "1.2.4",
"version": "1.2.5",
"versionCode": 6,
"main": "node_modules/expo/AppEntry.js",
"repository": "serlo/serlo-abc",
Expand Down
4 changes: 4 additions & 0 deletions src/asset-resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ export class AssetResolver extends AbstractAssetResolver {
}

private cleanId(id: string): string {
// Don't ask. Somehow, "d" and "r" can't be used as keys in production mode
if (id === 'd') return 'd_letter'
if (id === 'r') return 'r_letter'

return id
.replace(/\s/g, '_')
.replace(/ß/g, 'sz')
Expand Down
4 changes: 2 additions & 2 deletions src/assets/sounds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const sounds: { [id: string]: () => Audio.Sound } = {
cu: () => require('./sounds/cu.mp3'),
cue: () => require('./sounds/cue.mp3'),
cy: () => require('./sounds/cy.mp3'),
d: () => require('./sounds/d.mp3'),
d_letter: () => require('./sounds/d.mp3'),
da: () => require('./sounds/da.mp3'),
dae: () => require('./sounds/dae.mp3'),
das: () => require('./sounds/das.mp3'),
Expand Down Expand Up @@ -352,7 +352,7 @@ const sounds: { [id: string]: () => Audio.Sound } = {
quu: () => require('./sounds/quu.mp3'),
quue: () => require('./sounds/quue.mp3'),
quy: () => require('./sounds/quy.mp3'),
r: () => require('./sounds/r.mp3'),
r_letter: () => require('./sounds/r.mp3'),
r2: () => require('./sounds/r2.mp3'),
ra: () => require('./sounds/ra.mp3'),
rae: () => require('./sounds/rae.mp3'),
Expand Down

0 comments on commit e8a884a

Please sign in to comment.