mirror of
https://github.com/moparisthebest/keepass2android
synced 2024-11-22 09:12:17 -05:00
fix bug with bringing up the keyboard
hide donation option in PasswordActivity
This commit is contained in:
parent
0bab9abac5
commit
dc691c86dc
@ -86,7 +86,6 @@
|
||||
<Compile Include="Io\IFileStorage.cs" />
|
||||
<Compile Include="Io\IoUtil.cs" />
|
||||
<Compile Include="Io\JavaFileStorage.cs" />
|
||||
<Compile Include="Io\NetFtpFileStorage.cs" />
|
||||
<Compile Include="Io\OfflineSwitchableFileStorage.cs" />
|
||||
<Compile Include="Io\SftpFileStorage.cs" />
|
||||
<Compile Include="Io\SkyDriveFileStorage.cs" />
|
||||
|
@ -460,7 +460,7 @@ namespace keepass2android
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
Kp2aLog.LogUnexpectedError(new Exception("Cannot UpdateOfflineModeMenu " + (App.Kp2a == null) + " " + ((App.Kp2a == null) || (App.Kp2a.GetDb() == null)) + " " (((App.Kp2a == null) || (App.Kp2a.GetDb() == null) || (App.Kp2a.GetDb().Ioc == null)) + " " + (_syncItem != null) + " " + (_offlineItem != null) + " " + (_onlineItem != null))));
|
||||
Kp2aLog.LogUnexpectedError(new Exception("Cannot UpdateOfflineModeMenu " + (App.Kp2a == null) + " " + ((App.Kp2a == null) || (App.Kp2a.GetDb() == null)) + " " + (((App.Kp2a == null) || (App.Kp2a.GetDb() == null) || (App.Kp2a.GetDb().Ioc == null)) + " " + (_syncItem != null) + " " + (_offlineItem != null) + " " + (_onlineItem != null))));
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -997,6 +997,11 @@ namespace keepass2android
|
||||
{
|
||||
Util.GotoDonateUrl(this);
|
||||
};
|
||||
FindViewById(Resource.Id.btn_nav_donate).Visibility =
|
||||
PreferenceManager.GetDefaultSharedPreferences(this)
|
||||
.GetBoolean(this.GetString(Resource.String.NoDonateOption_key), false)
|
||||
? ViewStates.Gone
|
||||
: ViewStates.Visible;
|
||||
FindViewById(Resource.Id.btn_nav_about).Click += (sender, args) =>
|
||||
{
|
||||
AboutDialog dialog = new AboutDialog(this);
|
||||
|
@ -430,6 +430,7 @@ namespace keepass2android
|
||||
StartActivity(i);
|
||||
prefs.Edit().PutBoolean("has_asked_autofillservice", true).Commit();
|
||||
}
|
||||
else ActivateKeyboardIfAppropriate(closeAfterCreate, prefs);
|
||||
}
|
||||
else ActivateKeyboardIfAppropriate(closeAfterCreate, prefs);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user