|
@@ -22,6 +22,7 @@ import com.khmer9.yuki.screen.report.StatementFragment
|
|
|
import com.khmer9.yuki.screen.setting.SettingFragment
|
|
|
import com.khmer9.yuki.screen.splash.SplashScreenActivity
|
|
|
|
|
|
+
|
|
|
class MainFragment : BaseFragment(R.layout.layout_fragment_main_yuki) {
|
|
|
private val shareViewModel = App.injectShareViewModel()
|
|
|
private val sharePref = App.injectPrefHelper()
|
|
@@ -136,7 +137,9 @@ class MainFragment : BaseFragment(R.layout.layout_fragment_main_yuki) {
|
|
|
}
|
|
|
} else {
|
|
|
if (appId == YUKI_APP_ID) {
|
|
|
-
|
|
|
+ val launchIntent = requireContext().packageManager.getLaunchIntentForPackage("com.khmer9.yuki")
|
|
|
+ //launchIntent?.putExtra("data", data)
|
|
|
+ startActivity(launchIntent)
|
|
|
}
|
|
|
}
|
|
|
}
|