mirror of
https://github.com/bitwarden/mobile
synced 2025-12-25 04:33:36 +00:00
reset for v2
This commit is contained in:
@@ -1,34 +0,0 @@
|
||||
using System;
|
||||
using Android.App;
|
||||
using Android.OS;
|
||||
using Android.Content;
|
||||
using Android.Support.V7.App;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Bit.Android
|
||||
{
|
||||
[Activity(Theme = "@style/BitwardenTheme.Splash",
|
||||
MainLauncher = true,
|
||||
NoHistory = true,
|
||||
WindowSoftInputMode = global::Android.Views.SoftInput.StateHidden)]
|
||||
public class SplashActivity : AppCompatActivity
|
||||
{
|
||||
public override void OnCreate(Bundle savedInstanceState, PersistableBundle persistentState)
|
||||
{
|
||||
base.OnCreate(savedInstanceState, persistentState);
|
||||
}
|
||||
|
||||
protected override void OnResume()
|
||||
{
|
||||
base.OnResume();
|
||||
var startupWork = new Task(() =>
|
||||
{
|
||||
var mainIntent = new Intent(Application.Context, typeof(MainActivity));
|
||||
mainIntent.PutExtra("myVaultTile", Intent.GetBooleanExtra("myVaultTile", false));
|
||||
StartActivity(mainIntent);
|
||||
});
|
||||
|
||||
startupWork.Start();
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user