From a978b516566b9e7ef38740bbcdc1b6776c8a007f Mon Sep 17 00:00:00 2001 From: yflory Date: Fri, 3 Mar 2017 12:06:35 +0100 Subject: [PATCH] If display name is empty, use anonymous in the drive --- www/drive/main.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/www/drive/main.js b/www/drive/main.js index 5f7d1eed7..ed31ee6d8 100644 --- a/www/drive/main.js +++ b/www/drive/main.js @@ -1958,6 +1958,9 @@ define([ logError("Couldn't set username", err); return; } + if (myUserName === "") { + myUserName = Messages.anonymous; + } APP.$displayName.text(myUserName); }); };