From 3268c03d21d9f0197aa9eec8c02e7bbfdfd667cb Mon Sep 17 00:00:00 2001 From: Syrone Wong Date: Thu, 11 Aug 2016 16:12:35 +0800 Subject: [PATCH] Seperate strategy and servers menugroup User requested. Signed-off-by: Syrone Wong --- shadowsocks-csharp/View/MenuViewController.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/shadowsocks-csharp/View/MenuViewController.cs b/shadowsocks-csharp/View/MenuViewController.cs index 61160033..af18a3e6 100644 --- a/shadowsocks-csharp/View/MenuViewController.cs +++ b/shadowsocks-csharp/View/MenuViewController.cs @@ -405,6 +405,10 @@ namespace Shadowsocks.View items.Add(i, item); i++; } + + // user want a seperator item between strategy and servers menugroup + items.Add( i++, new MenuItem("-") ); + int strategyCount = i; Configuration configuration = controller.GetConfigurationCopy(); foreach (var server in configuration.configs)