This repository was archived by the owner on Oct 9, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/main/java/com/example/instabug/ui/activities Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ android {
4141repositories {
4242 maven {
4343 // TODO add this only if interested in getting SNAPSHOT releases
44- url " https://oss .sonatype.org/content/repositories/ snapshots"
44+ url " https://central .sonatype.com/repository/maven- snapshots/ "
4545 }
4646 google()
4747}
Original file line number Diff line number Diff line change 1313import com .instabug .library .Instabug ;
1414import com .instabug .library .InstabugColorTheme ;
1515import com .instabug .library .invocation .InstabugInvocationEvent ;
16+ import com .instabug .library .model .IBGTheme ;
1617import com .skydoves .colorpickerview .ColorEnvelope ;
1718import com .skydoves .colorpickerview .ColorPickerDialog ;
1819import com .skydoves .colorpickerview .listeners .ColorEnvelopeListener ;
@@ -101,7 +102,7 @@ public void onChangePrimaryColorClicked(View view) {
101102 new ColorEnvelopeListener () {
102103 @ Override
103104 public void onColorSelected (ColorEnvelope envelope , boolean fromUser ) {
104- Instabug .setPrimaryColor (envelope .getColor ());
105+ Instabug .setTheme ( new IBGTheme . Builder (). setPrimaryColor (envelope .getColor ()). build ());
105106 }
106107 })
107108 .setNegativeButton (getString (android .R .string .cancel ),
You can’t perform that action at this time.
0 commit comments