Skip to content

Commit

Permalink
Merge pull request #109 from ganeshrvel/issue/108
Browse files Browse the repository at this point in the history
Issue/108
  • Loading branch information
ganeshrvel authored Dec 3, 2019
2 parents 49e3ce1 + 3e54535 commit c8d156e
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ Setup the *code signing* to build, package and publish the app.
security add-generic-password -a "<apple-developer-account-username>" -w <app-specific-password*> -s "ELECTRON_NOTORIZE_PASSWORD"
```

- Log into your [Apple App Store Connect Account](appstoreconnect.apple.com/agreements/# "Apple App Store Connect Account")
- Log into your [Apple App Store Connect Account](https://appstoreconnect.apple.com/agreements/# "Apple App Store Connect Account")
- Accept to all agreements
- The statuses shall turn *Active*

Expand Down
12 changes: 9 additions & 3 deletions app/containers/HomePage/components/FileExplorer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -200,9 +200,7 @@ class FileExplorer extends Component {
const { nodes: nextDirectoryNodes } = nextDirectoryLists[deviceType];

if (nextDirectoryNodes !== prevDirectoryNodes) {
this.setState({
directoryGeneratedTime: Date.now()
});
this._handleDirectoryGeneratedTime();
}
}

Expand Down Expand Up @@ -1323,6 +1321,8 @@ class FileExplorer extends Component {
}

actionCreateRequestSort({ order, orderBy }, deviceType);

this._handleDirectoryGeneratedTime();
};

_handleSelectAllClick = (deviceType, event) => {
Expand Down Expand Up @@ -1439,6 +1439,12 @@ class FileExplorer extends Component {
return _primer;
};

_handleDirectoryGeneratedTime = () => {
this.setState({
directoryGeneratedTime: Date.now()
});
};

render() {
const {
classes: styles,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "openmtp",
"productName": "OpenMTP",
"version": "2.4.0",
"version": "2.4.1",
"description": "OpenMTP | Android File Transfer for macOS",
"scripts": {
"build": "yarn lint && concurrently \"yarn build-main\" \"yarn build-renderer\"",
Expand Down

0 comments on commit c8d156e

Please sign in to comment.