mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2026-04-21 07:50:11 +00:00
Display portrait resolution first
This commit is contained in:
@@ -157,10 +157,10 @@ public class StreamSettings extends Activity {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void addNativeResolutionEntries(int nativeWidth, int nativeHeight, boolean insetsRemoved) {
|
private void addNativeResolutionEntries(int nativeWidth, int nativeHeight, boolean insetsRemoved) {
|
||||||
addNativeResolutionEntry(nativeWidth, nativeHeight, insetsRemoved, false);
|
|
||||||
if (PreferenceConfiguration.isSquarishScreen(nativeWidth, nativeHeight)) {
|
if (PreferenceConfiguration.isSquarishScreen(nativeWidth, nativeHeight)) {
|
||||||
addNativeResolutionEntry(nativeHeight, nativeWidth, insetsRemoved, true);
|
addNativeResolutionEntry(nativeHeight, nativeWidth, insetsRemoved, true);
|
||||||
}
|
}
|
||||||
|
addNativeResolutionEntry(nativeWidth, nativeHeight, insetsRemoved, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void removeValue(String preferenceKey, String value, Runnable onMatched) {
|
private void removeValue(String preferenceKey, String value, Runnable onMatched) {
|
||||||
|
|||||||
Reference in New Issue
Block a user