カラーパレットを適用するようにした

This commit is contained in:
ろむねこ 2023-12-10 22:53:59 +09:00
parent 0c215013f3
commit d1e3255219
No known key found for this signature in database
GPG Key ID: FA1F39A1BA37D168

View File

@ -2,8 +2,15 @@ package one.nem.lacerta;
import android.app.Application; import android.app.Application;
import com.google.android.material.color.DynamicColors;
import dagger.hilt.android.HiltAndroidApp; import dagger.hilt.android.HiltAndroidApp;
@HiltAndroidApp @HiltAndroidApp
public class LacertaApplication extends Application { public class LacertaApplication extends Application {
@Override
public void onCreate() {
super.onCreate();
DynamicColors.applyToActivitiesIfAvailable(this);
}
} }