[UI] Update header image. Fix fragment bundle passing.

This commit is contained in:
Kuba Szczodrzyński 2019-11-23 19:37:00 +01:00
parent 86b6060a09
commit 6ec3d062df
3 changed files with 4 additions and 2 deletions

2
.gitignore vendored
View File

@ -81,3 +81,5 @@ lint/generated/
lint/outputs/
lint/tmp/
# lint/reports/
app/schemas/

View File

@ -694,10 +694,10 @@ class MainActivity : AppCompatActivity() {
app.profile == null -> {
if (intentProfileId == -1)
intentProfileId = app.appSharedPrefs.getInt("current_profile_id", 1)
loadProfile(intentProfileId, intentTargetId)
loadProfile(intentProfileId, intentTargetId, extras)
}
intentProfileId != -1 -> {
loadProfile(intentProfileId, intentTargetId)
loadProfile(intentProfileId, intentTargetId, extras)
}
intentTargetId != -1 -> {
drawer.currentProfile = app.profile.id

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB