Skip to content

Commit

Permalink
feat: Update 1.14
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrijkotov634 committed Jul 1, 2022
1 parent 9e4c331 commit dae6a57
Show file tree
Hide file tree
Showing 38 changed files with 536 additions and 1,099 deletions.
3 changes: 2 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

android {
compileSdkVersion 32
compileSdkVersion 33
buildToolsVersion "30.0.3"

buildFeatures {
Expand All @@ -16,9 +16,9 @@ android {
defaultConfig {
applicationId "com.dm.bomber"
minSdkVersion 21
targetSdkVersion 32
versionCode 23
versionName "1.13"
targetSdkVersion 33
versionCode 26
versionName "1.14"
}

buildTypes {
Expand Down
4 changes: 2 additions & 2 deletions app/release/output-metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
"type": "SINGLE",
"filters": [],
"attributes": [],
"versionCode": 23,
"versionName": "1.13",
"versionCode": 26,
"versionName": "1.14",
"outputFile": "app-release.apk"
}
],
Expand Down
30 changes: 0 additions & 30 deletions app/src/main/java/com/dm/bomber/services/Call2Friends.java

This file was deleted.

4 changes: 2 additions & 2 deletions app/src/main/java/com/dm/bomber/services/Callback.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@

public interface Callback extends okhttp3.Callback {

void onError(Exception e);
void onError(@NonNull Call call, @NonNull Exception e);

@Override
default void onFailure(@NonNull Call call, @NonNull IOException e) {
onError(e);
onError(call, e);
}
}
2 changes: 1 addition & 1 deletion app/src/main/java/com/dm/bomber/services/Dolyame.java
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public void onResponse(@NonNull Call call, @NonNull Response response) throws IO
.build())
.build()).enqueue(callback);
} catch (JSONException | NullPointerException e) {
callback.onError(e);
callback.onError(call, e);
}
}
});
Expand Down
27 changes: 0 additions & 27 deletions app/src/main/java/com/dm/bomber/services/Evotor.java

This file was deleted.

38 changes: 0 additions & 38 deletions app/src/main/java/com/dm/bomber/services/Fonbet.java

This file was deleted.

30 changes: 0 additions & 30 deletions app/src/main/java/com/dm/bomber/services/Gosuslugi.java

This file was deleted.

100 changes: 0 additions & 100 deletions app/src/main/java/com/dm/bomber/services/Labirint.java

This file was deleted.

18 changes: 0 additions & 18 deletions app/src/main/java/com/dm/bomber/services/Melzdrav.java

This file was deleted.

19 changes: 0 additions & 19 deletions app/src/main/java/com/dm/bomber/services/RiveGauche.java

This file was deleted.

3 changes: 2 additions & 1 deletion app/src/main/java/com/dm/bomber/services/Service.java
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ public static String format(String phone, String mask) {

int index = 0;
for (char symbol : mask.toCharArray())
formattedPhone.append(symbol == '*' ? phone.charAt(index++) : symbol);
if (index < phone.length())
formattedPhone.append(symbol == '*' ? phone.charAt(index++) : symbol);

return formattedPhone.toString();
}
Expand Down
Loading

0 comments on commit dae6a57

Please sign in to comment.