mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 01:08:50 -06:00
Fix reference to MainActivity
This commit is contained in:
@@ -207,7 +207,7 @@ public class ListHabitsScreen extends BaseScreen
|
|||||||
private void refreshTheme()
|
private void refreshTheme()
|
||||||
{
|
{
|
||||||
new Handler().postDelayed(() -> {
|
new Handler().postDelayed(() -> {
|
||||||
Intent intent = new Intent(activity, ListHabitsActivity.class);
|
Intent intent = new Intent(activity, MainActivity.class);
|
||||||
|
|
||||||
activity.finish();
|
activity.finish();
|
||||||
activity.overridePendingTransition(android.R.anim.fade_in,
|
activity.overridePendingTransition(android.R.anim.fade_in,
|
||||||
|
|||||||
Reference in New Issue
Block a user