internal static void ShowGameResultToast(string deckName, GameStats game) { if (game == null) { return; } var result = new ToastHelper(new GameResultToast(deckName, game)); if (Config.Instance.ShowReplayShareToast) { var replay = new ToastHelper(new ReplayToast(game)); GameResultToasts.Add(replay, result); ShowToast(result); ShowToast(replay); } else { ShowToast(result); } }