mirror of
https://github.com/CatimaLoyalty/Android.git
synced 2026-01-05 21:48:01 -05:00
15 lines
446 B
Java
15 lines
446 B
Java
package protect.card_locker;
|
|
|
|
import androidx.appcompat.app.AppCompatDelegate;
|
|
import androidx.multidex.MultiDexApplication;
|
|
import protect.card_locker.preferences.Settings;
|
|
|
|
public class LoyaltyCardLockerApplication extends MultiDexApplication {
|
|
public void onCreate() {
|
|
super.onCreate();
|
|
|
|
Settings settings = new Settings(getApplicationContext());
|
|
AppCompatDelegate.setDefaultNightMode(settings.getTheme());
|
|
}
|
|
}
|