diff --git a/.gitignore b/.gitignore index 13af317f..ef057948 100644 --- a/.gitignore +++ b/.gitignore @@ -81,3 +81,5 @@ lint/generated/ lint/outputs/ lint/tmp/ # lint/reports/ + +app/schemas/ diff --git a/app/src/main/java/pl/szczodrzynski/edziennik/MainActivity.kt b/app/src/main/java/pl/szczodrzynski/edziennik/MainActivity.kt index 64dec607..85d2f275 100644 --- a/app/src/main/java/pl/szczodrzynski/edziennik/MainActivity.kt +++ b/app/src/main/java/pl/szczodrzynski/edziennik/MainActivity.kt @@ -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 diff --git a/app/src/main/res/drawable/header.png b/app/src/main/res/drawable/header.png new file mode 100644 index 00000000..365f66e9 Binary files /dev/null and b/app/src/main/res/drawable/header.png differ