diff options
author | Stefan Niedermann <info@niedermann.it> | 2020-10-12 14:41:00 +0300 |
---|---|---|
committer | Stefan Niedermann <info@niedermann.it> | 2020-10-12 14:41:00 +0300 |
commit | 577444e358eb3ae36cc0754230cf9fefdbb51602 (patch) | |
tree | 54040ad720319809ad02d2b5a7acb400770db119 /app/src/main/java/it/niedermann/nextcloud/deck/ui/accountswitcher | |
parent | cb31d0a0677007c081f595c521503e770436f769 (diff) |
Move some logic to library
Signed-off-by: Stefan Niedermann <info@niedermann.it>
Diffstat (limited to 'app/src/main/java/it/niedermann/nextcloud/deck/ui/accountswitcher')
2 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/accountswitcher/AccountSwitcherDialog.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/accountswitcher/AccountSwitcherDialog.java index 592f2e8cc..b685b18be 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/accountswitcher/AccountSwitcherDialog.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/accountswitcher/AccountSwitcherDialog.java @@ -25,9 +25,9 @@ import it.niedermann.nextcloud.deck.ui.branding.BrandedDialogFragment; import it.niedermann.nextcloud.deck.ui.manageaccounts.ManageAccountsActivity; import it.niedermann.nextcloud.deck.util.ExceptionUtil; +import static it.niedermann.android.util.DimensionUtil.dpToPx; import static it.niedermann.nextcloud.deck.persistence.sync.adapters.db.util.LiveDataHelper.observeOnce; import static it.niedermann.nextcloud.deck.ui.MainActivity.ACTIVITY_MANAGE_ACCOUNTS; -import static it.niedermann.nextcloud.deck.util.DimensionUtil.dpToPx; public class AccountSwitcherDialog extends BrandedDialogFragment { diff --git a/app/src/main/java/it/niedermann/nextcloud/deck/ui/accountswitcher/AccountSwitcherViewHolder.java b/app/src/main/java/it/niedermann/nextcloud/deck/ui/accountswitcher/AccountSwitcherViewHolder.java index 58fad20b0..f44d21f28 100644 --- a/app/src/main/java/it/niedermann/nextcloud/deck/ui/accountswitcher/AccountSwitcherViewHolder.java +++ b/app/src/main/java/it/niedermann/nextcloud/deck/ui/accountswitcher/AccountSwitcherViewHolder.java @@ -15,7 +15,7 @@ import it.niedermann.nextcloud.deck.databinding.ItemAccountChooseBinding; import it.niedermann.nextcloud.deck.model.Account; import it.niedermann.nextcloud.sso.glide.SingleSignOnUrl; -import static it.niedermann.nextcloud.deck.util.DimensionUtil.dpToPx; +import static it.niedermann.android.util.DimensionUtil.dpToPx; public class AccountSwitcherViewHolder extends RecyclerView.ViewHolder { |