1
0
forked from github/szkolny

[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
.gitignore
app/src/main
java/pl/szczodrzynski/edziennik
res/drawable

2
.gitignore vendored

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

@ -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

(image error) Size: 62 KiB