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 {
41
41
repositories {
42
42
maven {
43
43
// 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/ "
45
45
}
46
46
google()
47
47
}
Original file line number Diff line number Diff line change 13
13
import com .instabug .library .Instabug ;
14
14
import com .instabug .library .InstabugColorTheme ;
15
15
import com .instabug .library .invocation .InstabugInvocationEvent ;
16
+ import com .instabug .library .model .IBGTheme ;
16
17
import com .skydoves .colorpickerview .ColorEnvelope ;
17
18
import com .skydoves .colorpickerview .ColorPickerDialog ;
18
19
import com .skydoves .colorpickerview .listeners .ColorEnvelopeListener ;
@@ -101,7 +102,7 @@ public void onChangePrimaryColorClicked(View view) {
101
102
new ColorEnvelopeListener () {
102
103
@ Override
103
104
public void onColorSelected (ColorEnvelope envelope , boolean fromUser ) {
104
- Instabug .setPrimaryColor (envelope .getColor ());
105
+ Instabug .setTheme ( new IBGTheme . Builder (). setPrimaryColor (envelope .getColor ()). build ());
105
106
}
106
107
})
107
108
.setNegativeButton (getString (android .R .string .cancel ),
You can’t perform that action at this time.
0 commit comments