Updated dependencies and removed unused ones

This commit is contained in:
antonio 2022-12-28 14:19:48 +01:00
parent 64ce58d10b
commit 6a1c5d2ce3
3 changed files with 18 additions and 21 deletions

View file

@ -6,7 +6,6 @@ import android.content.SharedPreferences;
import androidx.preference.PreferenceManager;
import com.balsikandar.crashreporter.CrashReporter;
import com.cappielloantonio.play.helper.ThemeHelper;
import com.cappielloantonio.play.subsonic.Subsonic;
import com.cappielloantonio.play.subsonic.SubsonicPreferences;
@ -23,8 +22,6 @@ public class App extends Application {
super.onCreate();
DynamicColors.applyToActivitiesIfAvailable(this);
CrashReporter.initialize(this);
SharedPreferences sharedPreferences = PreferenceManager.getDefaultSharedPreferences(getApplicationContext());
String themePref = sharedPreferences.getString(PreferenceUtil.THEME, ThemeHelper.DEFAULT_MODE);
ThemeHelper.applyTheme(themePref);