diff --git a/osu.Android.props b/osu.Android.props
index 596e5bfa8b..b95b794004 100644
--- a/osu.Android.props
+++ b/osu.Android.props
@@ -52,6 +52,6 @@
-
+
diff --git a/osu.Game/Overlays/Chat/Tabs/ChannelTabControl.cs b/osu.Game/Overlays/Chat/Tabs/ChannelTabControl.cs
index cb6abb7cc6..19c6f437b6 100644
--- a/osu.Game/Overlays/Chat/Tabs/ChannelTabControl.cs
+++ b/osu.Game/Overlays/Chat/Tabs/ChannelTabControl.cs
@@ -78,19 +78,10 @@ namespace osu.Game.Overlays.Chat.Tabs
/// The channel that is going to be removed.
public void RemoveChannel(Channel channel)
{
- if (Current.Value == channel)
- {
- var allChannels = TabContainer.AllTabItems.Select(tab => tab.Value).ToList();
- var isNextTabSelector = allChannels[allChannels.IndexOf(channel) + 1] == selectorTab.Value;
-
- // selectorTab is not switchable, so we have to explicitly select it if it's the only tab left
- if (isNextTabSelector && allChannels.Count == 2)
- SelectTab(selectorTab);
- else
- SwitchTab(isNextTabSelector ? -1 : 1);
- }
-
RemoveItem(channel);
+
+ if (SelectedTab == null)
+ SelectTab(selectorTab);
}
protected override void SelectTab(TabItem tab)
diff --git a/osu.Game/osu.Game.csproj b/osu.Game/osu.Game.csproj
index 1d3bafbfd6..6ec57e5100 100644
--- a/osu.Game/osu.Game.csproj
+++ b/osu.Game/osu.Game.csproj
@@ -24,7 +24,7 @@
-
+
diff --git a/osu.iOS.props b/osu.iOS.props
index ad7850599b..0bfff24805 100644
--- a/osu.iOS.props
+++ b/osu.iOS.props
@@ -70,7 +70,7 @@
-
+
@@ -80,7 +80,7 @@
-
+