Commit Graph

14 Commits

Author SHA1 Message Date
Conny Duck 9b6ca7ff42 remove unused resources 2018-02-03 23:43:06 +01:00
remi6397 11105f4aac Theming improvements (#502)
* Split theme definitions into day and night

* Add support for Night Mode in code

* Add theme chooser in preferences

* Fix translations

* Adjust IDs

* Adjust preferences for custom themes

* UI tweaks for custom theme support

* Added code for custom theme support 🍅

* Fixed resource display in Kotlin 🍅

* Restored styles

* Updated strings

* Fixed getIdentifier() to fit into setTheme()

* Removed redundant resources

* Reset default theme to "Dusky"

* Fixed night mode handler to maintain compatibility

* Refactor functions to use helper methods

* Added license block

* Added preview to theme selector

* Added color identifier getter helper method

* Fixed reference in AccountMediaFragment

* Cleanup

* Fixed navbar foreground not changing color

* Fix fallback theme switch(){}

* Enable location-based daylight trigger

* Cleanup

* Modified theming strategy to reduce clutter in preferences

* Updated translations for latest version

* Removed "Default" theme flavor from settings

* Updated Polish translations 🇵🇱

* Modified TwilightManager handling code to support Android M's UiModeManager features and moved it to its own function

* Updated Polish translations 🇵🇱

* Cleanup; Fixed hardcoded string

* Added missing escape in string

* Removed permission request dialog.

As we now use native UiModeManager APIs that don't need special permission for Android 6.0 and above, we no longer need to bother user with Android M+ specific location permission request dialog.

* Increased readability of ThemeUtil class

* Refactored ThemeUtils.setAppNightMode method

* Cleanup
2018-01-20 13:39:01 +01:00
Conny Duck 671957da5a title and menu to open toot in browser for ViewThreadActivity 2017-10-28 21:59:33 +02:00
Vavassor 6e67db7631 Release 1.1.4-beta.5 2017-07-15 03:56:22 -04:00
Vavassor 3a4ef00dab Release 1.1.4-beta.4 2017-06-25 17:14:39 -04:00
Caleb Maclennan f93638e58d Fix spelling and translate new strings for Turkish 2017-05-04 10:54:38 +03:00
Caleb Maclennan 1a94e5337f
Update TR translation with recently added and edited strings 2017-04-22 15:33:06 +03:00
Caleb Maclennan c4ca7a386b
Copy new untranslated strings from EN → TR 2017-04-21 10:54:27 +03:00
Vavassor fdd92f25a6 fix build issues 2017-04-21 01:08:38 -04:00
Caleb Maclennan 4f0b0d5c0a
Translate new strings and edits since original branch point 2017-04-17 15:44:11 +03:00
Caleb Maclennan 6c1549a87e
Finish all strings and fix escaping 2017-04-17 15:25:07 +03:00
Caleb Maclennan c84604cf0f
Finish off all short stings and normalize usage 2017-04-17 15:16:40 +03:00
Caleb Maclennan b932fb1a13
Begin Turkish translation 2017-04-06 11:28:11 +03:00
Caleb Maclennan 2ab6addd7a
Add copy of English strings as a base 2017-04-06 10:55:40 +03:00