Skip to content

Commit

Permalink
fix: errors from revert
Browse files Browse the repository at this point in the history
  • Loading branch information
koenidv committed Nov 15, 2023
1 parent 0d80dfa commit 9fb2c22
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 23 deletions.
5 changes: 0 additions & 5 deletions .idea/gradle.xml

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

1 change: 1 addition & 0 deletions app/src/main/java/de/koenidv/sph/networking/Holidays.kt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package de.koenidv.sph.networking

import androidx.appcompat.app.AppCompatActivity
import com.androidnetworking.AndroidNetworking
import com.androidnetworking.error.ANError
import com.androidnetworking.interfaces.JSONArrayRequestListener
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ import de.koenidv.sph.database.FunctionTilesDb
import de.koenidv.sph.debugging.DebugLog
import de.koenidv.sph.debugging.Debugger
import de.koenidv.sph.debugging.Debugger.LOG_TYPE_WARNING
import de.koenidv.sph.objects.FunctionTile.Companion.FEATURE_CALENDAR
import de.koenidv.sph.objects.FunctionTile.Companion.FEATURE_CHANGES
import de.koenidv.sph.objects.FunctionTile.Companion.FEATURE_COURSES
import de.koenidv.sph.objects.FunctionTile.Companion.FEATURE_MESSAGES
Expand Down
12 changes: 0 additions & 12 deletions app/src/main/java/de/koenidv/sph/ui/ContactSheet.kt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ class ContactSheet internal constructor() : BottomSheetDialogFragment() {
val view: View = inflater.inflate(R.layout.sheet_contact, container, false)

val telegramLayout = view.findViewById<LinearLayout>(R.id.contactTelegramLayout)
val instagramLayout = view.findViewById<LinearLayout>(R.id.contactInstagramLayout)
val githubLayout = view.findViewById<LinearLayout>(R.id.contactGithubLayout)
val mailLayout = view.findViewById<LinearLayout>(R.id.contactMailLayout)
val doneButton = view.findViewById<Button>(R.id.doneButton)
Expand All @@ -39,17 +38,6 @@ class ContactSheet internal constructor() : BottomSheetDialogFragment() {
}
}

// Open Instagram profile to send a message
instagramLayout.setOnClickListener {
try {
dismiss()
startActivity(Intent(
Intent.ACTION_VIEW,
Uri.parse(getString(R.string.contact_instagram_data))))
} catch (e: Exception) {
}
}

// Open GitHub site to open an issue
githubLayout.setOnClickListener {
try {
Expand Down
4 changes: 0 additions & 4 deletions app/src/main/java/de/koenidv/sph/ui/TimetableFragment.kt
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,10 @@ import android.view.View
import android.view.ViewGroup
import androidx.core.os.bundleOf
import androidx.fragment.app.Fragment
import androidx.recyclerview.widget.RecyclerView
import androidx.transition.TransitionInflater
import com.google.android.material.switchmaterial.SwitchMaterial
import de.koenidv.sph.R
import de.koenidv.sph.SphPlanner
import de.koenidv.sph.adapters.LessonsAdapter
import de.koenidv.sph.adapters.TimebarAdapter
import java.util.*

class TimetableFragment : Fragment() {

Expand Down
1 change: 0 additions & 1 deletion app/src/main/res/values-de/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@
<!-- Translatable Arrays -->
<!-- Only translate values (after "|"), not the keys! -->
<!-- Spanish, Russian, Korean ? -->
<string name="onboard_legal_privacy">Ich habe die <a href="http://koenidv.de/sph/datenschutz">Datenschutzerklärung</a> gelesen, verstanden und stimme ihr zu.</string>
<string name="timetable_personal_title">Dein Stundenplan</string>
<string name="onboard_legal_privacy">Ich habe die <a href="https://koeni.dev/sph/datenschutz">Datenschutzerklärung</a> gelesen, verstanden und stimme ihr zu.</string>
<string name="timetable_personal_filter">Nur eigene Kurse</string>
Expand Down

0 comments on commit 9fb2c22

Please sign in to comment.