We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3478b7 commit ad4a6e8Copy full SHA for ad4a6e8
OpenTween/Tween.cs
@@ -695,7 +695,14 @@ ThumbnailGenerator thumbGenerator
695
696
this.ReloadMastodonHomeTab(startup: true);
697
698
- this.ListTabSelect(this.ListTab.SelectedTab);
+ TabModel firstSelectedTab;
699
+ if (this.settings.Common.PrimaryAccount == null && this.settings.Common.MastodonPrimaryAccount != null)
700
+ firstSelectedTab = this.statuses.GetTabByType<MastodonHomeTab>()!;
701
+ else
702
+ firstSelectedTab = this.statuses.Tabs[0];
703
+
704
+ var firstSelectedTabIndex = this.statuses.Tabs.IndexOf(firstSelectedTab);
705
+ this.ListTabSelect(this.ListTab.TabPages[firstSelectedTabIndex]);
706
707
// タブの位置を調整する
708
this.SetTabAlignment();
0 commit comments