Skip to content

Commit

Permalink
Fix not regenerating lorieView when stretching preference was changed…
Browse files Browse the repository at this point in the history
… in background
  • Loading branch information
twaik committed Apr 16, 2024
1 parent a7f8a4b commit a6f6a45
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/src/main/java/com/termux/x11/MainActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,9 @@ void onPreferencesChanged(String key) {
findViewById(R.id.button_visibility).setAlpha(menuUnselectedTrasparency);
buttons.setVisibility(View.GONE);
}

lorieView.requestLayout();
lorieView.invalidate();
}

@Override
Expand Down

0 comments on commit a6f6a45

Please sign in to comment.