File tree 4 files changed +5
-9
lines changed
java/com/nearit/ui_bindings/inbox/viewholders
4 files changed +5
-9
lines changed Original file line number Diff line number Diff line change 5
5
<uses-permission android : name =" android.permission.BLUETOOTH" />
6
6
<uses-permission android : name =" android.permission.INTERNET" />
7
7
8
- <application android : supportsRtl = " true " >
8
+ <application >
9
9
<activity
10
10
android : name =" .permissions.NearItPermissionsActivity"
11
11
android : theme =" @style/NearItUIPermissionsDialog" />
139
139
140
140
</application >
141
141
142
- </manifest >
142
+ </manifest >
Original file line number Diff line number Diff line change 9
9
import com .nearit .ui_bindings .inbox .customviews .NearITNotificationCardButton ;
10
10
import com .nearit .ui_bindings .inbox .customviews .NearITNotificationCardLayout ;
11
11
12
- import it .near .sdk .reactions .couponplugin .model .Claim ;
13
12
import it .near .sdk .reactions .couponplugin .model .Coupon ;
14
13
15
14
public class CouponNotificationViewHolder extends BaseViewHolder <Coupon > {
@@ -36,9 +35,6 @@ public void onClick(View v) {
36
35
37
36
@ Override
38
37
protected void bindToView (Coupon coupon ) {
39
- if (coupon .claims == null ) return ;
40
- Claim claim = coupon .claims .get (0 );
41
- if (claim == null ) return ;
42
38
layout .setTimestamp (item .timestamp );
43
39
layout .setNotification (coupon .notificationMessage );
44
40
layout .setMessageUnread (!item .read );
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ dependencies {
57
57
58
58
implementation " org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version "
59
59
60
- // implementation 'it.near.sdk:nearit-ui:2.11.8 '
60
+ // implementation 'it.near.sdk:nearit-ui:2.11.9 '
61
61
implementation project(' :nearit-ui' )
62
62
63
63
implementation ' it.near.sdk:nearit:2.11.2'
@@ -72,4 +72,4 @@ dependencies {
72
72
})
73
73
74
74
}
75
- apply plugin : ' com.google.gms.google-services'
75
+ apply plugin : ' com.google.gms.google-services'
Original file line number Diff line number Diff line change @@ -62,7 +62,7 @@ android {
62
62
dependencies {
63
63
implementation fileTree(include : [' *.jar' ], dir : ' libs' )
64
64
65
- // implementation 'it.near.sdk:nearit-ui:2.11.8 '
65
+ // implementation 'it.near.sdk:nearit-ui:2.11.9 '
66
66
implementation project(' :nearit-ui' )
67
67
68
68
implementation ' it.near.sdk:nearit:2.11.2'
You can’t perform that action at this time.
0 commit comments