Compare commits

..
2 Commits
Author SHA1 Message Date
chylex 293683fbdc Release 1.26 2023-07-17 12:49:49 +02:00
chylex 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
+1 -1
View File
@@ -6,6 +6,6 @@ using TweetDuck;
namespace TweetDuck {
internal static class Version {
public const string Tag = "1.25.4";
public const string Tag = "1.26";
}
}
@@ -1,7 +1,7 @@
import { $TD } from "../api/bridge.js";
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.");
}
}