refactor: remove DomainDisplay.java

This commit is contained in:
LucasGGamerM 2023-09-05 07:23:07 -03:00
parent 61b20eea05
commit 2ee4b03fe8
1 changed files with 0 additions and 15 deletions

View File

@ -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 "";
}
}