mirror of
https://github.com/AngelAuraMC/Amethyst-Android.git
synced 2025-09-14 15:17:02 -04:00
Tweak[profile-selector]: keep focus on the selected profiles
This commit is contained in:
parent
5336b80485
commit
2a95a306bd
@ -127,6 +127,8 @@ public class mcVersionSpinner extends ExtendedTextView {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
mPopupWindow.showAsDropDown(mcVersionSpinner.this, 0, offset);
|
mPopupWindow.showAsDropDown(mcVersionSpinner.this, 0, offset);
|
||||||
|
// Post() is required for the layout inflation phase
|
||||||
|
post(() -> mListView.setSelection(mSelectedIndex));
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user