diff --git a/app/src/main/java/pl/szczodrzynski/edziennik/ui/modules/login/LoginChooserFragment.kt b/app/src/main/java/pl/szczodrzynski/edziennik/ui/modules/login/LoginChooserFragment.kt index 37391924..c25b07d1 100644 --- a/app/src/main/java/pl/szczodrzynski/edziennik/ui/modules/login/LoginChooserFragment.kt +++ b/app/src/main/java/pl/szczodrzynski/edziennik/ui/modules/login/LoginChooserFragment.kt @@ -5,6 +5,7 @@ package pl.szczodrzynski.edziennik.ui.modules.login import android.app.Activity +import android.content.Intent import android.os.Bundle import android.view.LayoutInflater import android.view.View @@ -20,6 +21,7 @@ import pl.szczodrzynski.edziennik.Bundle import pl.szczodrzynski.edziennik.R import pl.szczodrzynski.edziennik.databinding.LoginChooserFragmentBinding import pl.szczodrzynski.edziennik.onClick +import pl.szczodrzynski.edziennik.ui.modules.feedback.FeedbackActivity import pl.szczodrzynski.edziennik.utils.SimpleDividerItemDecoration import kotlin.coroutines.CoroutineContext @@ -76,6 +78,10 @@ class LoginChooserFragment : Fragment(), CoroutineScope { addItemDecoration(SimpleDividerItemDecoration(context)) } + b.helpButton.onClick { + startActivity(Intent(activity, FeedbackActivity::class.java)) + } + when { activity.loginStores.isNotEmpty() -> { // we are navigated here from LoginSummary diff --git a/app/src/main/res/drawable-nodpi/login_logo_podlasie.png b/app/src/main/res/drawable-nodpi/login_logo_podlasie.png deleted file mode 100644 index ed46d77c..00000000 Binary files a/app/src/main/res/drawable-nodpi/login_logo_podlasie.png and /dev/null differ diff --git a/app/src/main/res/drawable/login_logo_podlasie.png b/app/src/main/res/drawable/login_logo_podlasie.png new file mode 100644 index 00000000..23e0b0ca Binary files /dev/null and b/app/src/main/res/drawable/login_logo_podlasie.png differ diff --git a/app/src/main/res/layout/login_form_fragment.xml b/app/src/main/res/layout/login_form_fragment.xml index 80f7bdc4..dc6c4ffd 100644 --- a/app/src/main/res/layout/login_form_fragment.xml +++ b/app/src/main/res/layout/login_form_fragment.xml @@ -73,6 +73,7 @@ android:layout_width="40dp" android:layout_height="40dp" android:background="?selectableItemBackgroundBorderless" + android:visibility="gone" app:iiv_color="?colorOnBackground" app:iiv_icon="cmd-help-circle-outline" app:iiv_size="24dp" @@ -83,7 +84,8 @@ android:id="@+id/fakeLogin" android:layout_width="match_parent" android:layout_height="wrap_content" - android:text="Fake login" /> + android:text="Fake login" + android:visibility="gone" />