Skip to content

Commit b63632c

Browse files
committed
1. Added some missing resources.
1 parent c0ad787 commit b63632c

File tree

5 files changed

+10
-0
lines changed

5 files changed

+10
-0
lines changed

app/src/main/java/com/amit/img_picker/ImagePickerActivity.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import java.io.File
1515
/**
1616
* Created by AMIT JANGID on 18/02/2019.
1717
**/
18+
@Suppress("NON_EXHAUSTIVE_WHEN")
1819
class ImagePickerActivity : FragmentActivity()
1920
{
2021
private lateinit var mCropProvider: CropProvider

app/src/main/java/com/amit/img_picker/provider/CameraProvider.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import java.io.File
1515
/**
1616
* Created by AMIT JANGID on 18/02/2019.
1717
**/
18+
@Suppress("UNUSED_PARAMETER")
1819
class CameraProvider(activity: ImagePickerActivity) : BaseProvider(activity)
1920
{
2021
companion object

app/src/main/java/com/amit/img_picker/provider/CropProvider.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ import java.io.IOException
1616
/**
1717
* Created by AMIT JANGID on 18/02/2019.
1818
**/
19+
@Suppress("UNUSED_PARAMETER")
1920
class CropProvider(activity: ImagePickerActivity) : BaseProvider(activity)
2021
{
2122
companion object

app/src/main/java/com/amit/img_picker/util/ImageUtil.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import java.io.IOException
99
/**
1010
* Created by AMIT JANGID on 18/02/2019.
1111
**/
12+
@Suppress("DEPRECATION")
1213
object ImageUtil
1314
{
1415
@Throws(IOException::class)

app/src/main/res/values/colors.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,13 @@
6868
<!-- Prompt dialog colors -->
6969

7070
<color name="red_btn_bg_color">#DD6B55</color>
71+
<color name="blue_btn_bg_color1">#87D1F5</color>
72+
<color name="error_stroke_color">#F27474</color>
7173
<color name="success_stroke_color">#A5DC86</color>
74+
<color name="warning_stroke_color">#F8BB86</color>
75+
<color name="sweet_dialog_bg_color">#FFFFFF</color>
7276
<color name="red_btn_bg_pressed_color">#CD5B55</color>
77+
<color name="blue_btn_bg_pressed_color1">#6FB4CA</color>
78+
<color name="trans_success_stroke_color">#33A5DC86</color>
7379

7480
</resources>

0 commit comments

Comments
 (0)