Skip to content

Commit

Permalink
Clean up some residual code
Browse files Browse the repository at this point in the history
  • Loading branch information
ccomeaux committed Dec 30, 2015
1 parent ee4ac95 commit 130caa8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
Expand Up @@ -76,7 +76,6 @@ public void onRefresh() {
((GameCollectionFragment) getFragment()).triggerRefresh();
}


@SuppressWarnings("unused")
@DebugLog
public void onEventMainThread(UpdateEvent event) {
Expand Down
Expand Up @@ -131,13 +131,6 @@ public View onCreateView(LayoutInflater inflater, @Nullable ViewGroup container,
return rootView;
}

@Override
@DebugLog
public void onStart() {
super.onStart();
EventBus.getDefault().registerSticky(this);
}

@Override
@DebugLog
public void onResume() {
Expand All @@ -163,7 +156,6 @@ public void onStop() {
SyncService.sync(getActivity(), SyncService.FLAG_SYNC_COLLECTION_UPLOAD);
needsUploading = false;
}
EventBus.getDefault().unregister(this);
super.onStop();
}

Expand Down
2 changes: 1 addition & 1 deletion app/src/main/res/layout/activity_hero.xml
Expand Up @@ -38,7 +38,7 @@
android:contentDescription="@null"
android:fitsSystemWindows="true"
android:scaleType="centerCrop"
android:src="@drawable/title_logo"
android:src="@color/primary"
app:layout_collapseMode="parallax"/>

<View
Expand Down

0 comments on commit 130caa8

Please sign in to comment.