mirror of
https://github.com/libre-tube/LibreTube.git
synced 2024-12-14 22:30:30 +05:30
Merge branch 'libre-tube:master' into sponsorblock-integration
This commit is contained in:
commit
251f100d40
@ -38,7 +38,9 @@ class SettingsActivity : AppCompatActivity(),
|
|||||||
|
|
||||||
override fun onCreate(savedInstanceState: Bundle?) {
|
override fun onCreate(savedInstanceState: Bundle?) {
|
||||||
super.onCreate(savedInstanceState)
|
super.onCreate(savedInstanceState)
|
||||||
|
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q) {
|
||||||
overridePendingTransition(50, 50);
|
overridePendingTransition(50, 50);
|
||||||
|
}
|
||||||
val view = this.findViewById<View>(android.R.id.content)
|
val view = this.findViewById<View>(android.R.id.content)
|
||||||
view.setAlpha(0F);
|
view.setAlpha(0F);
|
||||||
view.animate().alpha(1F).setDuration(300);
|
view.animate().alpha(1F).setDuration(300);
|
||||||
|
Loading…
Reference in New Issue
Block a user