diff --git a/mastodon/src/main/java/org/joinmastodon/android/fragments/DomainDisplay.java b/mastodon/src/main/java/org/joinmastodon/android/fragments/DomainDisplay.java deleted file mode 100644 index 523742f24..000000000 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/DomainDisplay.java +++ /dev/null @@ -1,15 +0,0 @@ -package org.joinmastodon.android.fragments; - -import org.joinmastodon.android.api.session.AccountSession; -import org.joinmastodon.android.api.session.AccountSessionManager; - -public interface DomainDisplay { - - default String getDomain(){ - AccountSession session = AccountSessionManager.getInstance().getLastActiveAccount(); - if (session != null) - return session.domain; - else - return ""; - } -}