浏览代码

Add todos

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
Marcel Hibbe 2 年之前
父节点
当前提交
28a235ae45
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      app/src/main/java/com/nextcloud/talk/controllers/base/BaseController.kt

+ 2 - 0
app/src/main/java/com/nextcloud/talk/controllers/base/BaseController.kt

@@ -54,6 +54,7 @@ import com.nextcloud.talk.utils.preferences.AppPreferences
 import javax.inject.Inject
 import javax.inject.Inject
 import kotlin.jvm.internal.Intrinsics
 import kotlin.jvm.internal.Intrinsics
 
 
+// TODO: check what needs to be migrated from this class to BaseActivity etc when conductor is removed
 @AutoInjector(NextcloudTalkApplication::class)
 @AutoInjector(NextcloudTalkApplication::class)
 abstract class BaseController(@LayoutRes var layoutRes: Int, args: Bundle? = null) : Controller(args) {
 abstract class BaseController(@LayoutRes var layoutRes: Int, args: Bundle? = null) : Controller(args) {
     enum class AppBarLayoutType {
     enum class AppBarLayoutType {
@@ -270,6 +271,7 @@ abstract class BaseController(@LayoutRes var layoutRes: Int, args: Bundle? = nul
         Intrinsics.checkNotNullParameter(toolbar, "toolbar")
         Intrinsics.checkNotNullParameter(toolbar, "toolbar")
     }
     }
 
 
+    // TODO: check if this must be migrated when using activities instead of conductor
     private fun cleanTempCertPreference() {
     private fun cleanTempCertPreference() {
         val temporaryClassNames: MutableList<String> = ArrayList()
         val temporaryClassNames: MutableList<String> = ArrayList()
         temporaryClassNames.add(ServerSelectionController::class.java.name)
         temporaryClassNames.add(ServerSelectionController::class.java.name)