diff --git a/src/org/fox/ttrss/OnlineActivity.java b/src/org/fox/ttrss/OnlineActivity.java index 3b15b572..b62c4dfb 100644 --- a/src/org/fox/ttrss/OnlineActivity.java +++ b/src/org/fox/ttrss/OnlineActivity.java @@ -149,8 +149,6 @@ public class OnlineActivity extends CommonActivity { super.onCreate(savedInstanceState); - m_pullToRefreshAttacher = PullToRefreshAttacher.get(this); - if (canUseProgress()) { requestWindowFeature(Window.FEATURE_PROGRESS); } @@ -170,6 +168,8 @@ public class OnlineActivity extends CommonActivity { setContentView(R.layout.login); + m_pullToRefreshAttacher = PullToRefreshAttacher.get(this); + if (isOffline) { switchOfflineSuccess(); } else {