diff --git a/app/build.gradle b/app/build.gradle index aeb407209b..61dbc39356 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -129,6 +129,8 @@ dependencies { compile('com.mikepenz:materialdrawer:4.6.4@aar') { transitive = true } + compile 'com.mikepenz:google-material-typeface:2.1.0.1.original@aar' + compile('com.github.afollestad.material-dialogs:core:0.8.5.3@aar') { transitive = true } diff --git a/app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.java b/app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.java index cda74f7deb..591f4c195c 100644 --- a/app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.java +++ b/app/src/main/java/eu/kanade/tachiyomi/ui/main/MainActivity.java @@ -29,12 +29,10 @@ public class MainActivity extends BaseActivity { @Bind(R.id.appbar) AppBarLayout appBar; @Bind(R.id.toolbar) Toolbar toolbar; @Bind(R.id.drawer_container) FrameLayout container; - + @State int selectedItem; private Drawer drawer; private FragmentStack fragmentStack; - @State int selectedItem; - @Override protected void onCreate(Bundle savedState) { super.onCreate(savedState); @@ -53,7 +51,7 @@ public class MainActivity extends BaseActivity { fragmentStack = new FragmentStack(this, getSupportFragmentManager(), R.id.content_layout, fragment -> { if (fragment instanceof ViewWithPresenter) - ((ViewWithPresenter)fragment).getPresenter().destroy(); + ((ViewWithPresenter) fragment).getPresenter().destroy(); }); drawer = new DrawerBuilder()