Check if daemon version is greater than or equal to recommended, and modal edit. #378

Closed
hackrush01 wants to merge 2 commits from daemon_version_greater into master
Showing only changes of commit 4f6481d4c4 - Show all commits

View file

@ -224,7 +224,7 @@ export function doCheckDaemonVersion() {
return function(dispatch, getState) {
lbry.version().then(({ lbrynet_version }) => {
dispatch({
type: config.lbrynetDaemonVersion == lbrynet_version
type: lbrynet_version.localeCompare(config.lbrynetDaemonVersion) >= 0
? types.DAEMON_VERSION_MATCH
: types.DAEMON_VERSION_MISMATCH,
});