mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 01:08:50 -06:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 56f91526e6 | |||
| dbc6a16a98 | |||
| 011abf62a0 | |||
|
|
9c96857262 |
@@ -1,5 +1,9 @@
|
||||
# Changelog
|
||||
|
||||
### 1.8.11 (Dev 29, 2020)
|
||||
|
||||
* Fix theme issues on Xiaomi phones
|
||||
|
||||
### 1.8.10 (Nov 26, 2020)
|
||||
|
||||
* Update translations
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
VERSION_CODE = 10810
|
||||
VERSION_NAME = 1.8.10
|
||||
VERSION_CODE = 10811
|
||||
VERSION_NAME = 1.8.11
|
||||
|
||||
MIN_SDK_VERSION = 21
|
||||
TARGET_SDK_VERSION = 29
|
||||
|
||||
@@ -23,17 +23,25 @@ import android.os.*;
|
||||
|
||||
import org.isoron.androidbase.activities.*;
|
||||
import org.isoron.androidbase.utils.*;
|
||||
import org.isoron.uhabits.R;
|
||||
import org.isoron.uhabits.*;
|
||||
import org.isoron.uhabits.activities.*;
|
||||
|
||||
/**
|
||||
* Activity that allows the user to view and modify the app settings.
|
||||
*/
|
||||
public class SettingsActivity extends BaseActivity
|
||||
{
|
||||
private AndroidThemeSwitcher themeSwitcher;
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState)
|
||||
{
|
||||
super.onCreate(savedInstanceState);
|
||||
|
||||
HabitsApplicationComponent compoenent = ((HabitsApplication) getApplication()).getComponent();
|
||||
themeSwitcher = new AndroidThemeSwitcher(this, compoenent.getPreferences());
|
||||
themeSwitcher.apply();
|
||||
|
||||
setContentView(R.layout.settings_activity);
|
||||
setupActionBarColor();
|
||||
}
|
||||
|
||||
@@ -1,14 +1,2 @@
|
||||
1.8.10:
|
||||
* Update translations
|
||||
1.8.9
|
||||
* Remove unused permissions
|
||||
* Notification bundling
|
||||
1.8:
|
||||
* New bar chart showing number of repetitions performed each week, month or year
|
||||
* Performing habits on irregular weekdays will no longer break your streak
|
||||
* More colors
|
||||
* Customize how transparent the widgets are
|
||||
* Customize the first day of the week
|
||||
* Yes/No buttons on notifications
|
||||
* Automatic dark theme (Android 10)
|
||||
* Smaller APK and backup files
|
||||
1.8.11:
|
||||
* Fix theme issues on Xiaomi phones
|
||||
|
||||
@@ -17,8 +17,9 @@
|
||||
~ with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<resources xmlns:tools="http://schemas.android.com/tools">
|
||||
<style name="AppBaseTheme" parent="@style/Theme.AppCompat.Light.NoActionBar">
|
||||
<item name="android:forceDarkAllowed" tools:targetApi="q">false</item>
|
||||
<item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item>
|
||||
<item name="android:dialogTheme">@style/Theme.AppCompat.Light.Dialog</item>
|
||||
<item name="android:alertDialogTheme">@style/Theme.AppCompat.Light.Dialog</item>
|
||||
@@ -75,6 +76,7 @@
|
||||
</style>
|
||||
|
||||
<style name="AppBaseThemeDark" parent="@style/Theme.AppCompat.NoActionBar">
|
||||
<item name="android:forceDarkAllowed" tools:targetApi="q">false</item>
|
||||
<item name="preferenceTheme">@style/PreferenceThemeOverlay.v14.Material</item>
|
||||
<item name="android:dialogTheme">@style/Theme.AppCompat.Dialog</item>
|
||||
<item name="android:alertDialogTheme">@style/Theme.AppCompat.Dialog</item>
|
||||
@@ -127,6 +129,7 @@
|
||||
</style>
|
||||
|
||||
<style name="AppBaseThemeDark.PureBlack">
|
||||
<item name="android:forceDarkAllowed" tools:targetApi="q">false</item>
|
||||
<item name="selectedBackground">@drawable/selected_box_amoled</item>
|
||||
<item name="cardBackground">@drawable/card_amoled_background</item>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user