Skip to content

Commit

Permalink
Merge pull request #110 from ganeshrvel/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
ganeshrvel authored Dec 3, 2019
2 parents 38a2e7f + c8d156e commit ae55b2a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
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 ae55b2a

Please sign in to comment.