Commit graph

66 commits

Author SHA1 Message Date
Phillip Thelen
fc6513ccad Merge branch 'refs/heads/pr/613' into develop
# Conflicts:
#	Habitica/res/xml/preferences_fragment.xml
#	Habitica/src/main/java/com/habitrpg/android/habitica/APIHelper.java

#	Habitica/src/main/java/com/habitrpg/android/habitica/ui/activities/MainActivity.java

#	Habitica/src/main/java/com/habitrpg/android/habitica/ui/activities/SetupActivity.java
#	build.gradle
#	gradle/wrapper/gradle-wrapper.properties
2016-09-23 19:17:08 +02:00
Daniel Kaparunakis
3634980116 Feature: Refactor the order of days in dailies
This commit refactors the order of days in the dailies in accordance
to the First Day of the Week setting. In addition, it sets the default
value for the setting using the user's locale as opposed to an
arbitrary value.
2016-09-22 22:43:27 -05:00
Daniel Kaparunakis
64e012a88a Feature: Add logic to files where calendar views occur
This commit adds the first day of the week calendar logic to the
RemindersManager & the TaskFormActivity classes. The date pickers
present themselves on two occassions: reminders & due dates. Both
were covered.
2016-09-22 22:36:08 -05:00
Daniel Kaparunakis
94ed87ba6e Feature: Add first day of the week option for all calendars
This is the first commit for the above feature. It adds the necessary
values & strings.
2016-09-22 22:36:08 -05:00
Daniel Kaparunakis
6132ad561c Merge remote-tracking branch 'upstream/develop' into develop 2016-09-20 23:18:08 -05:00
Daniel Kaparunakis
624d37ec96 Feature: Remove unnecessary languages & add values to the resource files
This commit removes languages whose translations are not available in
Android from the ListPreference element. It also adds a couple of string
values belonging to the ListPreference element that allow for easy
translation. Finally, it adds some logic to respond to the
SharedPreference change listener.
2016-08-29 23:54:15 -05:00
Daniel Kaparunakis
d072885e6e Feature: Add ListPreference for language switcher to settings activity
This commit adds the Language entries & language values arrays so
that the list preference can reference them in the settings activity.
It also adds said ListPreference XML element to be used as a language
switcher.
2016-08-29 00:04:26 -05:00
Keith Holliday
4bc2ace8f2 Added configure method for avaterview. Added dialgoue in preferences for qr code 2016-08-12 14:27:06 -05:00
Keith Holliday
335453e926 Add UI for push settings. Added push manager. Added toggle for push enabled/disabled. 2016-08-02 13:29:05 -05:00
Phillip Thelen
ebe09f0301 allow to change class in settings. 2016-04-26 16:49:56 +02:00
Andrew Lord
e15edfa674 Switching preferences pages working correctly. 2016-02-27 22:26:05 +00:00
Andrew Lord
5d76167df0 Back navigation wasn't working properly in settings due to it being a PreferenceFragment which extends from Fragment, whereas the activity is an AppCompatActivity so looks in the support library fragment manager when handling the back key. Switching to use the support-v7 preference library and PreferenceFragmentCompat then allows this to work. This commit has the time preference working (works slightly differently with support library preferences). Switching to account page not working yet and styling of main settings page needs some fixes. 2016-02-27 20:20:33 +00:00
Data5tream
d204cca809 Load default values into preferences in LoginActivity to avoid null objects when requesting settings for the first time 2015-12-22 15:54:43 +01:00
Phillip Thelen
f783443d14 task form improvements 2015-12-03 21:41:03 +01:00
Phillip Thelen
46598945c3 add setting for daily reminder 2015-12-01 02:37:30 +01:00
Franze Jr
f4fedad38e [#13] Add second screen for Account Details 2015-11-28 09:58:36 -03:00