blob: c853e8f0a6cb424c8f8436ffc8a606140adad080 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
package com.pitchedapps.frost
import android.os.Bundle
import com.pitchedapps.frost.utils.Prefs
import com.pitchedapps.frost.utils.formattedFbUrl
/**
* Created by Allan Wang on 2017-06-19.
*
* Replica of [WebOverlayActivity] with a different base url
* Didn't use activity-alias because it causes issues when only one activity has the singleInstance mode
*/
class FrostWebActivity : WebOverlayActivity() {
override val url: String
get() = intent.dataString!!.formattedFbUrl
override fun onCreate(savedInstanceState: Bundle?) {
Prefs.prevId = Prefs.userId
super.onCreate(savedInstanceState)
}
}
|