diff --git a/TMessagesProj/src/main/java/org/telegram/ui/IntroActivity.java b/TMessagesProj/src/main/java/org/telegram/ui/IntroActivity.java index 75a49ff9b..8effb45cd 100644 --- a/TMessagesProj/src/main/java/org/telegram/ui/IntroActivity.java +++ b/TMessagesProj/src/main/java/org/telegram/ui/IntroActivity.java @@ -129,7 +129,6 @@ public class IntroActivity extends ActionBarActivity { public void onPageScrollStateChanged(int i) { if (i == ViewPager.SCROLL_STATE_IDLE || i == ViewPager.SCROLL_STATE_SETTLING) { if (lastPage != viewPager.getCurrentItem()) { - int prevPage = lastPage; lastPage = viewPager.getCurrentItem(); final ImageView fadeoutImage; diff --git a/TMessagesProj/src/main/java/org/telegram/ui/LoginActivity.java b/TMessagesProj/src/main/java/org/telegram/ui/LoginActivity.java index 06b095823..e7266b45c 100644 --- a/TMessagesProj/src/main/java/org/telegram/ui/LoginActivity.java +++ b/TMessagesProj/src/main/java/org/telegram/ui/LoginActivity.java @@ -78,7 +78,6 @@ public class LoginActivity extends ActionBarActivity implements SlideView.SlideV super.onCreate(savedInstanceState); setContentView(R.layout.login_layout); ApplicationLoader.applicationContext = this.getApplicationContext(); - ConnectionsManager inst = ConnectionsManager.Instance; getSupportActionBar().setLogo(R.drawable.ab_icon_fixed2); getSupportActionBar().show();