import android.annotation.SuppressLint;
import android.os.Bundle;
+import androidx.annotation.Nullable;
+
import net.ktnx.mobileledger.model.Data;
import net.ktnx.mobileledger.model.MobileLedgerProfile;
import net.ktnx.mobileledger.utils.Colors;
-import androidx.annotation.Nullable;
-
@SuppressLint("Registered")
public class ProfileThemedActivity extends CrashReportingActivity {
protected MobileLedgerProfile mProfile;
}
protected void onCreate(@Nullable Bundle savedInstanceState) {
initProfile();
- super.onCreate(savedInstanceState);
setupProfileColors();
+ super.onCreate(savedInstanceState);
}
protected void initProfile() {
- mProfile = Data.profile.getValue();
+ mProfile = Data.initProfile();
}
}