split is_mobile to is_narrow and is_oled
is_mobile doesn't really make sense for android tablets. We were overloading this variable to mean "is_narrow". What we really want is is_oled for mobile devices and is_narrow for if its phone-like. Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -92,10 +92,10 @@ pub fn get_test_accounts() -> Vec<UserAccount> {
|
||||
.collect()
|
||||
}
|
||||
|
||||
pub fn test_app(is_mobile: bool) -> Damus {
|
||||
pub fn test_app() -> Damus {
|
||||
let db_dir = Path::new(".");
|
||||
let path = db_dir.to_str().unwrap();
|
||||
let mut app = Damus::mock(path, is_mobile);
|
||||
let mut app = Damus::mock(path);
|
||||
|
||||
let accounts = get_test_accounts();
|
||||
for account in accounts {
|
||||
|
||||
Reference in New Issue
Block a user