Skip to content

Commit

Permalink
As suggested changes
Browse files Browse the repository at this point in the history
1) Removed Mentorhelp click code
2) try catch block from errorUI function
3) SystemUtil
4) Optimized SVG to SVGO through https://jakearchibald.github.io/svgomg/
  • Loading branch information
AbhishekSingh committed Apr 23, 2021
1 parent eb41ccb commit bb74cb3
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions chat/src/main/java/org/navgurukul/chat/ChatBaseActivity.kt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package org.navgurukul.chat

import android.content.Context
import android.content.Intent
import android.view.Menu
import android.view.MenuItem
import androidx.annotation.AttrRes
Expand All @@ -11,9 +9,6 @@ import androidx.appcompat.widget.Toolbar
import androidx.fragment.app.FragmentManager
import io.reactivex.disposables.CompositeDisposable
import io.reactivex.disposables.Disposable
import org.navgurukul.chat.core.extensions.KEY_ARG
import org.navgurukul.chat.features.roomprofile.RoomProfileActivity
import org.navgurukul.chat.features.roomprofile.RoomProfileArgs
import org.navgurukul.commonui.platform.BaseFragment
import org.navgurukul.commonui.themes.ThemeUtils
import timber.log.Timber
Expand All @@ -40,13 +35,6 @@ open class ChatBaseActivity: AppCompatActivity() {
}
}

companion object {

fun newIntent(context: Context): Intent {
return Intent(context,ChatBaseActivity::class.java)
}
}

protected fun Disposable.disposeOnDestroy() {
uiDisposables.add(this)
}
Expand Down

0 comments on commit bb74cb3

Please sign in to comment.