Add Preference#setVisible stub

This commit is contained in:
arkon 2023-07-10 09:35:49 -04:00
parent c93dd99f89
commit 11506a7390
2 changed files with 17 additions and 0 deletions

View File

@ -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!");
}

View File

@ -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!")
}