Added compat layer for activities and fragments

This change is made so logic is not placed within the "old" base substrate. Changes made in the redesign could potentially affect the already working part which we obviously do not want.
This commit is contained in:
Viktor De Pasquale
2019-10-03 16:42:47 +02:00
parent 14e49f3c80
commit 8c224da5d5
7 changed files with 111 additions and 4 deletions
@@ -1,5 +1,5 @@
package com.topjohnwu.magisk.redesign
import com.topjohnwu.magisk.ui.base.MagiskViewModel
import com.topjohnwu.magisk.redesign.compat.CompatViewModel
class MainViewModel : MagiskViewModel()
class MainViewModel : CompatViewModel()