We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6716c22 commit 79433b1Copy full SHA for 79433b1
app/src/main/java/com/github/mobile/ui/gist/GistsViewActivity.java
@@ -116,9 +116,8 @@ protected void onCreate(Bundle savedInstanceState) {
116
// Support opening this activity with a single Gist that may be present
117
// in the intent but not currently present in the store
118
if (gists == null && gist != null) {
119
- String id = gist.getId();
120
if (gist.getCreatedAt() != null) {
121
- Gist stored = store.getGist(id);
+ Gist stored = store.getGist(gist.getId());
122
if (stored == null)
123
store.addGist(gist);
124
}
0 commit comments