Skip to content

Commit

Permalink
[tmp-wip] up to new version
Browse files Browse the repository at this point in the history
  • Loading branch information
thermatk committed Dec 25, 2017
1 parent b285700 commit 551f537
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[![Donate](https://liberapay.com/assets/widgets/donate.svg)](https://liberapay.com/thermatk/)
[![Releases](https://img.shields.io/github/release/thermatk/FastHub-Libre.svg)](https://github.com/thermatk/FastHub-Libre/releases/latest)

# FastHub-Libre
Expand Down
2 changes: 0 additions & 2 deletions app/src/main/java/com/fastaccess/ui/base/BaseActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@
import com.fastaccess.ui.modules.settings.SettingsActivity;
import com.fastaccess.ui.widgets.dialog.MessageDialogView;
import com.fastaccess.ui.widgets.dialog.ProgressDialogFragment;
import com.google.firebase.iid.FirebaseInstanceId;

import net.grandcentrix.thirtyinch.TiActivity;

Expand Down Expand Up @@ -110,7 +109,6 @@ public abstract class BaseActivity<V extends BaseMvp.FAView, P extends BasePrese
setupTheme();
AppHelper.updateAppLanguage(this);
super.onCreate(savedInstanceState);
Logger.e(FirebaseInstanceId.getInstance().getToken());
if (layout() != 0) {
setContentView(layout());
ButterKnife.bind(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class ThemeFragment : BaseFragment<ThemeFragmentMvp.View, ThemeFragmentPresenter
if (PrefGetter.isBluishEnabled() || PrefGetter.isProEnabled()) {
setTheme(getString(R.string.bluish_theme))
} else {
PremiumActivity.startActivity(context)
PremiumActivity.startActivity(context!!)
}
}

Expand All @@ -130,7 +130,7 @@ class ThemeFragment : BaseFragment<ThemeFragmentMvp.View, ThemeFragmentPresenter
if (PrefGetter.isAmlodEnabled() || PrefGetter.isProEnabled()) {
setTheme(getString(R.string.amlod_theme_mode))
} else {
PremiumActivity.startActivity(context)
PremiumActivity.startActivity(context!!)
}
}

Expand Down

0 comments on commit 551f537

Please sign in to comment.