1
0
mirror of https://github.com/chylex/TweetDuck.git synced 2025-09-15 22:32:08 +02:00

Compare commits

..

2 Commits

Author SHA1 Message Date
293683fbdc Release 1.26 2023-07-17 12:49:49 +02:00
57111212ea Fix warning message about TweetDeck Preview appearing on login screen 2023-07-17 12:49:49 +02:00
2 changed files with 2 additions and 2 deletions

View File

@@ -6,6 +6,6 @@ using TweetDuck;
namespace TweetDuck { namespace TweetDuck {
internal static class Version { internal static class Version {
public const string Tag = "1.25.4"; public const string Tag = "1.26";
} }
} }

View File

@@ -1,7 +1,7 @@
import { $TD } from "../api/bridge.js"; import { $TD } from "../api/bridge.js";
export default function() { export default function() {
if (!("TD" in window)) { if (location.pathname === "/" && !("TD" in window)) {
$TD.alert("warning", "Some TweetDuck features failed to load. This might happen if your Twitter account is enrolled into the TweetDeck Preview, which TweetDuck does not support. Try opting out of the TweetDeck Preview to restore TweetDuck's functionality."); $TD.alert("warning", "Some TweetDuck features failed to load. This might happen if your Twitter account is enrolled into the TweetDeck Preview, which TweetDuck does not support. Try opting out of the TweetDeck Preview to restore TweetDuck's functionality.");
} }
} }