We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a3c21c5 + 645deec commit fb60faaCopy full SHA for fb60faa
app/src/main/java/net/devemperor/wristassist/activities/MainActivity.java
@@ -132,9 +132,11 @@ protected void onCreate(Bundle savedInstanceState) {
132
133
mainWrv.requestFocus();
134
mainWrv.postDelayed(() -> {
135
- View view = mainWrv.getChildAt(0);
136
- if (view == null) return;
137
- mainWrv.scrollBy(0, view.getHeight());
+ if (getResources().getConfiguration().isScreenRound()) {
+ View view = mainWrv.getChildAt(0);
+ if (view == null) return;
138
+ mainWrv.scrollBy(0, view.getHeight());
139
+ }
140
}, 100);
141
}
142
0 commit comments