Skip to content

Commit

Permalink
Merge pull request #14 from icanerdogan/hotfix/1.1.0
Browse files Browse the repository at this point in the history
Hotfix/1.1.0
  • Loading branch information
icanerdogan authored Oct 13, 2023
2 parents 980080b + a7eeb6f commit d0f4ef4
Show file tree
Hide file tree
Showing 60 changed files with 27 additions and 48 deletions.
17 changes: 0 additions & 17 deletions .idea/deploymentTargetDropDown.xml

This file was deleted.

2 changes: 1 addition & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

def versionMajor = 1
def versionMinor = 0
def versionMinor = 1
def versionPatch = 0

android {
Expand Down
Binary file added app/signing/ValorantSignJks
Binary file not shown.
4 changes: 2 additions & 2 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
android:allowBackup="true"
android:dataExtractionRules="@xml/data_extraction_rules"
android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher_light"
android:icon="@mipmap/ic_launcher_illustration"
android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_light_round"
android:roundIcon="@mipmap/ic_launcher_illustration_round"
android:supportsRtl="true"
android:theme="@style/Theme.ValorantGuideApp.Splash"
tools:targetApi="31">
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@ class Converters {


@TypeConverter
fun fromAgentVoiceLine(voiceLine: AgentVoiceLine): String {
fun fromAgentVoiceLine(voiceLine: AgentVoiceLine?): String {
return gson.toJson(voiceLine)
}

@TypeConverter
fun toAgentVoiceLine(voiceLineString: String): AgentVoiceLine {
fun toAgentVoiceLine(voiceLineString: String): AgentVoiceLine? {
return gson.fromJson(voiceLineString, AgentVoiceLine::class.java)
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,5 @@ data class AgentData(
@SerializedName("abilities")
val agentAbilities: List<AgentAbility>,
@SerializedName("voiceLine")
val agentVoiceLine: AgentVoiceLine
val agentVoiceLine: AgentVoiceLine?
)
Original file line number Diff line number Diff line change
Expand Up @@ -140,11 +140,13 @@ class AgentViewHolder(

private fun setAgentVoiceData(agentData: AgentData) {
binding.imageViewAgentPortrait.setOnClickListener {
// Check if MediaPlayer is already playing
if (mediaPlayer?.isPlaying == true) {
stopMediaPlayer()
} else {
startMediaPlayer(agentData.agentVoiceLine.mediaList[0].mediaWave)
agentData.agentVoiceLine?.let {
// Check if MediaPlayer is already playing
if (mediaPlayer?.isPlaying == true) {
stopMediaPlayer()
} else {
startMediaPlayer(it.mediaList[0].mediaWave)
}
}
}
}
Expand Down
5 changes: 0 additions & 5 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher_dark.xml

This file was deleted.

5 changes: 0 additions & 5 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher_dark_round.xml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_illustration_background"/>
<foreground android:drawable="@mipmap/ic_launcher_illustration_foreground"/>
</adaptive-icon>
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<adaptive-icon xmlns:android="http://schemas.android.com/apk/res/android">
<background android:drawable="@color/ic_launcher_illustration_background"/>
<foreground android:drawable="@mipmap/ic_launcher_illustration_foreground"/>
</adaptive-icon>
5 changes: 0 additions & 5 deletions app/src/main/res/mipmap-anydpi-v26/ic_launcher_light.xml

This file was deleted.

This file was deleted.

Binary file removed app/src/main/res/mipmap-hdpi/ic_launcher_dark.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/src/main/res/mipmap-hdpi/ic_launcher_light.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed app/src/main/res/mipmap-mdpi/ic_launcher_dark.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/src/main/res/mipmap-mdpi/ic_launcher_light.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed app/src/main/res/mipmap-xhdpi/ic_launcher_dark.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed app/src/main/res/mipmap-xhdpi/ic_launcher_light.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/mipmap-xxhdpi/ic_launcher_dark.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/mipmap-xxhdpi/ic_launcher_light.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Binary file removed app/src/main/res/mipmap-xxxhdpi/ic_launcher_dark.png
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="ic_launcher_illustration_background">#000000</color>
</resources>

0 comments on commit d0f4ef4

Please sign in to comment.