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 {
dependencies { dependencies {
// support libraries // support libraries
compile 'com.android.support:palette-v7:23.1.0' compile 'com.android.support:palette-v7:23.1.1'
compile 'com.android.support:appcompat-v7:23.1.0' compile 'com.android.support:appcompat-v7:23.1.1'
compile 'com.android.support:design:23.1.0' compile 'com.android.support:design:23.1.1'
compile 'com.android.support:recyclerview-v7:23.1.0' compile 'com.android.support:recyclerview-v7:23.1.1'
// html parsing fo reading mode // html parsing fo reading mode
compile 'org.jsoup:jsoup:1.8.3' compile 'org.jsoup:jsoup:1.8.3'
@ -76,7 +76,7 @@ dependencies {
compile 'com.jakewharton:butterknife:7.0.1' compile 'com.jakewharton:butterknife:7.0.1'
// permissions // permissions
compile 'com.anthonycr.grant:permissions:1.0' compile 'com.anthonycr.grant:permissions:1.1.2'
// proxy support // proxy support
compile 'net.i2p.android:client:0.7' 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
mArrowImage.setLayerType(View.LAYER_TYPE_HARDWARE, null); mArrowImage.setLayerType(View.LAYER_TYPE_HARDWARE, null);
mArrowImage.setImageDrawable(mArrowDrawable); mArrowImage.setImageDrawable(mArrowDrawable);
} else { } else {
mDrawerLayout.setDrawerLockMode(DrawerLayout.LOCK_MODE_LOCKED_CLOSED, mDrawerLeft);
mArrowImage.setImageResource(R.drawable.ic_action_home); mArrowImage.setImageResource(R.drawable.ic_action_home);
mArrowImage.setColorFilter(mIconColor, PorterDuff.Mode.SRC_IN); 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
return true; return true;
case SETTINGS_DRAWERTABS: case SETTINGS_DRAWERTABS:
mPreferenceManager.setShowTabsInDrawer(checked); mPreferenceManager.setShowTabsInDrawer(checked);
return true;
default: default:
return false; return false;
} }

Loading…
Cancel
Save