diff options
author | Stefan Niedermann <info@niedermann.it> | 2023-04-13 22:57:46 +0300 |
---|---|---|
committer | Stefan Niedermann <info@niedermann.it> | 2023-04-13 22:57:46 +0300 |
commit | cb1b666308f0ace60996a91690b69e736b0d67aa (patch) | |
tree | e19c714d8c83cf95147f0d4ff583cfb6968db63e /app/src | |
parent | e8299b02690931b0e0a3f35f61cba2a9091743d1 (diff) |
release: Version bump to 1.23.11.23.1
Signed-off-by: Stefan Niedermann <info@niedermann.it>
Diffstat (limited to 'app/src')
-rw-r--r-- | app/src/main/java/it/niedermann/nextcloud/deck/ui/ImportAccountActivity.java | 7 | ||||
-rw-r--r-- | app/src/main/res/layout/activity_import_account.xml | 1 |
2 files changed, 6 insertions, 2 deletions
diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/ImportAccountActivity.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/ImportAccountActivity.java index 0cdb85450..962d42400 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/ImportAccountActivity.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/ImportAccountActivity.java @@ -68,6 +68,8 @@ public class ImportAccountActivity extends AppCompatActivity { setContentView(binding.getRoot()); + resetAvatar(); + prefKeyWifiOnly = getString(R.string.pref_key_wifi_only); sharedPreferences = PreferenceManager.getDefaultSharedPreferences(getApplicationContext()); urlFragmentUpdateDeck = getString(R.string.url_fragment_update_deck); @@ -275,6 +277,7 @@ public class ImportAccountActivity extends AppCompatActivity { Glide .with(binding.image.getContext()) .load(R.mipmap.ic_launcher) + .apply(RequestOptions.circleCropTransform()) .into(binding.image) ); } @@ -285,8 +288,8 @@ public class ImportAccountActivity extends AppCompatActivity { .with(binding.image.getContext()) .load(account.getAvatarUrl(binding.image.getWidth())) .apply(RequestOptions.circleCropTransform()) - .placeholder(R.mipmap.ic_launcher) - .error(R.mipmap.ic_launcher) + .placeholder(R.drawable.ic_person_grey600_24dp) + .error(R.drawable.ic_person_grey600_24dp) .into(binding.image) ); } diff --git a/app/src/main/res/layout/activity_import_account.xml b/app/src/main/res/layout/activity_import_account.xml index c88808b48..d06004ce9 100644 --- a/app/src/main/res/layout/activity_import_account.xml +++ b/app/src/main/res/layout/activity_import_account.xml @@ -68,6 +68,7 @@ android:paddingHorizontal="@dimen/spacer_4x" android:paddingVertical="@dimen/spacer_3x" android:text="@string/choose_account" + android:textColor="@android:color/white" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/welcome_text" /> |