File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
src/main/java/org/fossasia/openevent/general/ticket Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1
1
plugins {
2
- id " com.diffplug.gradle.spotless" version " 3.25 .0"
2
+ id " com.diffplug.gradle.spotless" version " 3.26 .0"
3
3
}
4
4
5
5
apply plugin : ' com.android.application'
Original file line number Diff line number Diff line change @@ -119,7 +119,7 @@ class TicketsViewModel(
119
119
qty.add(it.second)
120
120
}
121
121
}
122
- val donation = ticketIdAndQty.map { it.third* it.second }.sum()
122
+ val donation = ticketIdAndQty.map { it.third * it.second }.sum()
123
123
tickets.value?.filter { ticketIds.contains(it.id) }?.let { tickets ->
124
124
var prices = 0F
125
125
var index = 0
@@ -130,7 +130,7 @@ class TicketsViewModel(
130
130
if (code?.value != null ) {
131
131
appliedDiscountCode?.tickets?.forEach { ticketId ->
132
132
if (ticket.id == ticketId.id.toInt()) {
133
- price - = if (code.type == AMOUNT ) code.value else price* (code.value / 100 )
133
+ price - = if (code.type == AMOUNT ) code.value else price * (code.value / 100 )
134
134
}
135
135
}
136
136
}
Original file line number Diff line number Diff line change 1
1
// Top-level build file where you can add configuration options common to all sub-projects/modules.
2
2
3
3
buildscript {
4
- ext. kotlin_version = ' 1.3.50 '
4
+ ext. kotlin_version = ' 1.3.60 '
5
5
6
6
repositories {
7
7
google()
You can’t perform that action at this time.
0 commit comments