theme mode
This commit is contained in:
@@ -10,6 +10,8 @@ import android.view.WindowManager;
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.appcompat.app.AppCompatActivity;
|
||||
import androidx.appcompat.app.AppCompatDelegate;
|
||||
import androidx.appcompat.app.SkinAppCompatDelegateImpl;
|
||||
|
||||
import com.mogo.commons.debug.DebugConfig;
|
||||
import com.mogo.utils.SoftKeyBoardJobber;
|
||||
@@ -89,4 +91,10 @@ public abstract class MvpActivity< V extends IView, P extends Presenter< V > >
|
||||
}
|
||||
mPresenter = null;
|
||||
}
|
||||
|
||||
@NonNull
|
||||
@Override
|
||||
public AppCompatDelegate getDelegate() {
|
||||
return SkinAppCompatDelegateImpl.get(this, this);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user