Skip to content

Commit

Permalink
update version and hot fix
Browse files Browse the repository at this point in the history
  • Loading branch information
apinprastya committed Aug 15, 2019
1 parent 5ec4b52 commit 1c90fe2
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Change Log

## 0.1.1

- hot fix generate not working

## 0.1.0

- new feature add lang from UI
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "flutter-internationalize",
"displayName": "flutter-internationalize",
"description": "Flutter internationalizing tools",
"version": "0.1.0",
"version": "0.1.1",
"publisher": "apin",
"author": "Apin Prastya <apin.klas@gmail.com> (https://lekapin.com)",
"icon": "resources/icon.png",
Expand Down
6 changes: 5 additions & 1 deletion src/react/action.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@ const Action = (props) => {
dispatch({ type: 'reload' });
}

const onGenerate = () => {
dispatch({ type: 'generate' });
}

const handleMenuClick = (e) => {
switch (e.key) {
case 'import':
Expand Down Expand Up @@ -66,7 +70,7 @@ const Action = (props) => {
}
</Button.Group>
<Button style={{ marginLeft: 10 }} onClick={onAddRow} icon="plus" type="default">Add key</Button>
<Button style={{ marginLeft: 10 }} onClick={onAddRow} icon="exclamation" type="default">Generate Code</Button>
<Button style={{ marginLeft: 10 }} onClick={onGenerate} icon="exclamation" type="default">Generate Code</Button>
<Button.Group style={{ marginLeft: 10 }}>
<Tooltip title="refresh" >
<Button onClick={onReload} icon="reload" type="default"></Button>
Expand Down

0 comments on commit 1c90fe2

Please sign in to comment.