loading页&骑行页面记忆跳转

This commit is contained in:
lishuo committed 2022-01-11 16:19:18 +08:00
1 parent 05e3d2f887
commit 90be662db1
6 files changed
+709 -669

No files matched your search

+2 -1
View File
@@ -439,7 +439,8 @@ public class MainController : BaseScene
var message = "";
if (item.TotalTicks == 0 && item.PreDistance == 0)
{
message = lang=="zh"?$"发起了对<color=#f93086>{item.RouteName}</color>的挑战!" : $"started riding <color=#f93086>{item.RouteName}</color>!";
var routeName = string.IsNullOrEmpty(item.RouteName) ? $"#{item.RouteId}" : item.RouteName;
message = lang=="zh"?$"发起了对<color=#f93086>{routeName}</color>的挑战!" : $"started riding <color=#f93086>{item.RouteName}</color>!";
}
if (item.IsCompleted)
{