From f09198d81a538db74ab22ec0625102a3ed22b717 Mon Sep 17 00:00:00 2001 From: JLChen <551775569@qq.com> Date: 星期四, 17 十二月 2020 15:29:25 +0800 Subject: [PATCH] 2020-12-17 1.无分配区域去掉分割线 --- HDL_ON/Common/HDLCommon.cs | 13 ++++++++++++- 1 files changed, 12 insertions(+), 1 deletions(-) diff --git a/HDL_ON/Common/HDLCommon.cs b/HDL_ON/Common/HDLCommon.cs index 9fecf94..0be5c25 100644 --- a/HDL_ON/Common/HDLCommon.cs +++ b/HDL_ON/Common/HDLCommon.cs @@ -270,7 +270,7 @@ Shared.Application.RunOnMainThread(() => { new Alert(jpushMessageInfo.Title, jpushMessageInfo.Content, Language.StringByID(StringId.Close)).Show(); - //GetPushMessageAction?.Invoke(); + GetPushMessageAction?.Invoke(); }); return; } @@ -366,6 +366,17 @@ break; } } + + + /// <summary> + /// + /// </summary> + /// <param name="userName"></param> + /// <returns></returns> + public string GetUserName(string userName) + { + return string.IsNullOrEmpty(userName) ? Language.StringByID(StringId.UsersWhoNameIsEmpty) : userName; + } #endregion } } -- Gitblit v1.8.0