Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

notification setting #189

Merged
merged 5 commits into from Feb 13, 2016
Merged

notification setting #189

merged 5 commits into from Feb 13, 2016

Conversation

punchdrunker
Copy link
Collaborator

This PR is for #168 .
User can choose whether to receive notifications.

@punchdrunker punchdrunker added this to the 1.1.0 milestone Feb 13, 2016
@punchdrunker punchdrunker self-assigned this Feb 13, 2016
@@ -71,7 +71,6 @@

<receiver
android:name=".receiver.SessionScheduleReceiver"
android:process=":remote"
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it OK?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I removed this attribute to get correct SharedPreferences value.
I used page below as reference.
http://stackoverflow.com/questions/10098981/sharedpreferences-in-broadcastreceiver-seems-to-not-update

Copy link
Contributor

Choose a reason for hiding this comment

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

ic.

@hotchemi
Copy link
Contributor

image

@konifar
Copy link
Owner

konifar commented Feb 13, 2016

Could you send screenshot? 🙇

@punchdrunker
Copy link
Collaborator Author

here is scrreenshot.
device-2016-02-14-015721

android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/clickable"
android:padding="@dimen/spacing">
Copy link
Owner

Choose a reason for hiding this comment

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

I guess it is better that user can click this layout to switch change. How do you think?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

That's right. I'll try 💨

Copy link
Owner

Choose a reason for hiding this comment

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

Thanks!

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I did it ⬇️

@konifar
Copy link
Owner

konifar commented Feb 13, 2016

LGTM!

hotchemi pushed a commit that referenced this pull request Feb 13, 2016
@hotchemi hotchemi merged commit c5af48b into master Feb 13, 2016
@hotchemi hotchemi deleted the feature/notification-setting branch February 13, 2016 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants