Skip to content

Conversation

@newhinton
Copy link
Contributor

@newhinton newhinton commented Apr 20, 2020

This adds the appicon to the notification. It adds a little touch to it and makes it look nicer imho. If the appicon is not fetched or some other error occured, the gotify icon is used

Copy link
Member

@jmattheis jmattheis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @newhinton,

Thanks for your first contribution! I've added some suggestions for improvements in sub comments.

try {
request= cache.load(Utils.resolveAbsoluteUrl(settings.url() + "/", appIdMap.get(appid)));
icon = request.get();
} catch (IOException e) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Log the exception with com.github.gotify.log.Log#e(java.lang.String, java.lang.Throwable)

import java.util.Map;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicInteger;

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The travis-ci build currently fails because of formatting errors. Run ./gradlew spotlessApply to fix them.
https://travis-ci.org/github/gotify/android/builds/677337457#L1868

@newhinton
Copy link
Contributor Author

I''ll just comment here, thanks for your feedback! I will change the code, i didn't now some of the stuff you pointed out.

@jmattheis
Copy link
Member

Inactivity.

@jmattheis jmattheis closed this Jun 1, 2020
@newhinton
Copy link
Contributor Author

@jmattheis Sorry for the inactivity, i have updated my pr. Would you still check it out? Should i make a new pr or can you reopen this one?

I made the mistake and commited a file with my default fileheader wich contains my default GPLv3. I have changed that to MIT, is that enough?

@jmattheis
Copy link
Member

Yeah sure, you can re-open this PR.

I made the mistake and commited a file with my default fileheader wich contains my default GPLv3. I have changed that to MIT, is that enough?

Should be ok I guess.

@newhinton
Copy link
Contributor Author

I dont think that i can reopen it, since i am not a member of this project

@jmattheis jmattheis reopened this Jun 2, 2020
Copy link
Member

@jmattheis jmattheis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you resolve the merge conflicts?

@newhinton newhinton requested a review from jmattheis June 4, 2020 20:15
@newhinton
Copy link
Contributor Author

I have made changes, i hope i got everything

@jmattheis
Copy link
Member

Yeah, give me some days, I'm currently pretty busy.

jmattheis
jmattheis previously approved these changes Jun 14, 2020
Copy link
Member

@jmattheis jmattheis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice.

@jmattheis
Copy link
Member

Could you rebase your branch?

Copy link
Member

@jmattheis jmattheis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noice.

@jmattheis jmattheis merged commit 85c255e into gotify:master Jun 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants