mirror of
https://github.com/tachiyomiorg/extensions-lib.git
synced 2024-11-16 16:29:19 +01:00
Add Preference#setVisible stub
This commit is contained in:
parent
c93dd99f89
commit
11506a7390
@ -30,6 +30,10 @@ public class Preference {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setVisible(boolean visible) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public String getKey() {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
@ -1,6 +1,19 @@
|
||||
package eu.kanade.tachiyomi
|
||||
|
||||
object AppInfo {
|
||||
/**
|
||||
* Version code of the host application. May be useful for sharing as User-Agent information.
|
||||
* Note that this value differs between forks so logic should not rely on it.
|
||||
*
|
||||
* @since extension-lib 1.3
|
||||
*/
|
||||
fun getVersionCode(): Int = throw Exception("Stub!")
|
||||
|
||||
/**
|
||||
* Version name of the host application. May be useful for sharing as User-Agent information.
|
||||
* Note that this value differs between forks so logic should not rely on it.
|
||||
*
|
||||
* @since extension-lib 1.3
|
||||
*/
|
||||
fun getVersionName(): String = throw Exception("Stub!")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user