Add a configurable background color in the file app in view mode

This commit is contained in:
yflory
2018-01-31 14:42:34 +01:00
parent 91e42f1518
commit fb192a2c45
3 changed files with 12 additions and 2 deletions

View File

@@ -224,6 +224,8 @@ define([
if (decrypting) { return; }
decrypting = true;
displayFile(ev, sizeMb, function (err) {
$appContainer.css('background-color',
common.getAppConfig().appBackgroundColor);
if (err) { UI.alert(err); }
});
};