OSDN Git Service
(root)
/
opentween
/
open-tween.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
SettingCommon.Instanceプロパティを削除
[opentween/open-tween.git]
/
OpenTween
/
Models
/
HomeTabModel.cs
diff --git
a/OpenTween/Models/HomeTabModel.cs
b/OpenTween/Models/HomeTabModel.cs
index
4969124
..
ba93579
100644
(file)
--- a/
OpenTween/Models/HomeTabModel.cs
+++ b/
OpenTween/Models/HomeTabModel.cs
@@
-32,6
+32,7
@@
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
+using OpenTween.Setting;
namespace OpenTween.Models
{
namespace OpenTween.Models
{
@@
-63,10
+64,10
@@
namespace OpenTween.Models
public override async Task RefreshAsync(Twitter tw, bool backward, bool startup, IProgress<string> progress)
{
bool read;
public override async Task RefreshAsync(Twitter tw, bool backward, bool startup, IProgress<string> progress)
{
bool read;
- if (!Setting
Common.Instance
.UnreadManage)
+ if (!Setting
Manager.Common
.UnreadManage)
read = true;
else
read = true;
else
- read = startup && Setting
Common.Instance
.Read;
+ read = startup && Setting
Manager.Common
.Read;
progress.Report(string.Format(Properties.Resources.GetTimelineWorker_RunWorkerCompletedText5, backward ? -1 : 1));
progress.Report(string.Format(Properties.Resources.GetTimelineWorker_RunWorkerCompletedText5, backward ? -1 : 1));
@@
-74,7
+75,7
@@
namespace OpenTween.Models
.ConfigureAwait(false);
// 新着時未読クリア
.ConfigureAwait(false);
// 新着時未読クリア
- if (Setting
Common.Instance
.ReadOldPosts)
+ if (Setting
Manager.Common
.ReadOldPosts)
TabInformations.GetInstance().SetReadHomeTab();
TabInformations.GetInstance().DistributePosts();
TabInformations.GetInstance().SetReadHomeTab();
TabInformations.GetInstance().DistributePosts();