mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-19 02:53:05 +00:00
Fix dp constant
This commit is contained in:
parent
2c3511195c
commit
23ca62b304
@ -66,7 +66,7 @@ public class PreferenceConfiguration {
|
|||||||
|
|
||||||
private static boolean getDefaultSmallMode(Context context) {
|
private static boolean getDefaultSmallMode(Context context) {
|
||||||
// Use small mode on anything smaller than a 7" tablet
|
// Use small mode on anything smaller than a 7" tablet
|
||||||
return context.getResources().getConfiguration().smallestScreenWidthDp < 720;
|
return context.getResources().getConfiguration().smallestScreenWidthDp < 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static int getDefaultBitrate(Context context) {
|
public static int getDefaultBitrate(Context context) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user