Browse Source

Fix bug with navigation drawer, update gradle dependencies

master
Anthony Restaino 9 years ago
parent
commit
2a4b636a53
  1. 10
      app/build.gradle
  2. 1
      app/src/main/java/acr/browser/lightning/activity/BrowserActivity.java
  3. 1
      app/src/main/java/acr/browser/lightning/fragment/GeneralSettingsFragment.java

10
app/build.gradle

@ -57,10 +57,10 @@ dexcount { @@ -57,10 +57,10 @@ dexcount {
dependencies {
// support libraries
compile 'com.android.support:palette-v7:23.1.0'
compile 'com.android.support:appcompat-v7:23.1.0'
compile 'com.android.support:design:23.1.0'
compile 'com.android.support:recyclerview-v7:23.1.0'
compile 'com.android.support:palette-v7:23.1.1'
compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:design:23.1.1'
compile 'com.android.support:recyclerview-v7:23.1.1'
// html parsing fo reading mode
compile 'org.jsoup:jsoup:1.8.3'
@ -76,7 +76,7 @@ dependencies { @@ -76,7 +76,7 @@ dependencies {
compile 'com.jakewharton:butterknife:7.0.1'
// permissions
compile 'com.anthonycr.grant:permissions:1.0'
compile 'com.anthonycr.grant:permissions:1.1.2'
// proxy support
compile 'net.i2p.android:client:0.7'

1
app/src/main/java/acr/browser/lightning/activity/BrowserActivity.java

@ -302,6 +302,7 @@ public abstract class BrowserActivity extends ThemableBrowserActivity implements @@ -302,6 +302,7 @@ public abstract class BrowserActivity extends ThemableBrowserActivity implements
mArrowImage.setLayerType(View.LAYER_TYPE_HARDWARE, null);
mArrowImage.setImageDrawable(mArrowDrawable);
} else {
mDrawerLayout.setDrawerLockMode(DrawerLayout.LOCK_MODE_LOCKED_CLOSED, mDrawerLeft);
mArrowImage.setImageResource(R.drawable.ic_action_home);
mArrowImage.setColorFilter(mIconColor, PorterDuff.Mode.SRC_IN);
}

1
app/src/main/java/acr/browser/lightning/fragment/GeneralSettingsFragment.java

@ -563,6 +563,7 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme @@ -563,6 +563,7 @@ public class GeneralSettingsFragment extends LightningPreferenceFragment impleme
return true;
case SETTINGS_DRAWERTABS:
mPreferenceManager.setShowTabsInDrawer(checked);
return true;
default:
return false;
}

Loading…
Cancel
Save