{"action":"created","issue":{"url":"https://api.github.com/repos/cgeo/cgeo/issues/5405","labels_url":"https://api.github.com/repos/cgeo/cgeo/issues/5405/labels{/name}","comments_url":"https://api.github.com/repos/cgeo/cgeo/issues/5405/comments","events_url":"https://api.github.com/repos/cgeo/cgeo/issues/5405/events","html_url":"https://github.com/cgeo/cgeo/pull/5405","id":127547195,"number":5405,"title":"Fixed #5400: refresh warning only when gt 100","user":{"login":"pstorch","id":5598124,"avatar_url":"https://avatars.githubusercontent.com/u/5598124?v=3","gravatar_id":"","url":"https://api.github.com/users/pstorch","html_url":"https://github.com/pstorch","followers_url":"https://api.github.com/users/pstorch/followers","following_url":"https://api.github.com/users/pstorch/following{/other_user}","gists_url":"https://api.github.com/users/pstorch/gists{/gist_id}","starred_url":"https://api.github.com/users/pstorch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pstorch/subscriptions","organizations_url":"https://api.github.com/users/pstorch/orgs","repos_url":"https://api.github.com/users/pstorch/repos","events_url":"https://api.github.com/users/pstorch/events{/privacy}","received_events_url":"https://api.github.com/users/pstorch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-19T21:50:44Z","updated_at":"2016-01-22T08:17:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/cgeo/cgeo/pulls/5405","html_url":"https://github.com/cgeo/cgeo/pull/5405","diff_url":"https://github.com/cgeo/cgeo/pull/5405.diff","patch_url":"https://github.com/cgeo/cgeo/pull/5405.patch"},"body":"I added an if statement to show the refresh warning message only when more than 100 caches are selected (in the list).\r\nThe `case R.id.menu_refresh_stored:` section (line 746) grew so big, which I didn't like. So I refactored the code a bit.  I hope it's ok this way.\r\nPlease check."},"comment":{"url":"https://api.github.com/repos/cgeo/cgeo/issues/comments/173840447","html_url":"https://github.com/cgeo/cgeo/pull/5405#issuecomment-173840447","issue_url":"https://api.github.com/repos/cgeo/cgeo/issues/5405","id":173840447,"user":{"login":"samueltardieu","id":44656,"avatar_url":"https://avatars.githubusercontent.com/u/44656?v=3","gravatar_id":"","url":"https://api.github.com/users/samueltardieu","html_url":"https://github.com/samueltardieu","followers_url":"https://api.github.com/users/samueltardieu/followers","following_url":"https://api.github.com/users/samueltardieu/following{/other_user}","gists_url":"https://api.github.com/users/samueltardieu/gists{/gist_id}","starred_url":"https://api.github.com/users/samueltardieu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samueltardieu/subscriptions","organizations_url":"https://api.github.com/users/samueltardieu/orgs","repos_url":"https://api.github.com/users/samueltardieu/repos","events_url":"https://api.github.com/users/samueltardieu/events{/privacy}","received_events_url":"https://api.github.com/users/samueltardieu/received_events","type":"User","site_admin":false},"created_at":"2016-01-22T08:17:20Z","updated_at":"2016-01-22T08:17:20Z","body":"As a side note: could you please make your commit message imperative rather than descriptive? This is the style we use in cgeo: \"fix #xxx\" rather than \"fixed #xxx\"."}}